feat: Add support for Gatling Enterprise Component License #303
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
env: | |
JAVA_OPTS: "-Xmx6G" | |
SBT_OPTS: "-Dsbt.ci=true" | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.m2/repository | |
~/.ivy2/cache | |
~/.cache/coursier | |
~/.sbt/launchers | |
~/.sbt/boot | |
~/.sbt/preloaded | |
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt', '**/plugins.sbt', '**/build.properties') }} | |
- name: Test | |
run: | | |
sbt \ | |
"all clean" \ | |
"all headerCheck" \ | |
"all scalafmtSbtCheck scalafmtCheckAll" \ | |
"all scalafixAll --check" \ | |
"test" \ | |
"scripted" |