285 handle v61 method override changes #460
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: [master, main] | |
pull_request: | |
branches: ["**"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 8 | |
cache: "sbt" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: js/npm/package-lock.json | |
- name: FormatCheck | |
run: sbt scalafmtCheck # Does not check test files currently | |
- name: Build | |
run: sbt build | |
- name: Test | |
run: sbt test | |
- name: Checkout samples repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
repository: apex-dev-tools/apex-samples | |
path: apex-samples | |
ref: v1.2.0 | |
- name: Set samples env | |
run: echo "SAMPLES=$GITHUB_WORKSPACE/apex-samples" >> "$GITHUB_ENV" | |
- name: System Test | |
shell: 'script -q -e -c "bash {0}"' # Color support | |
run: npm run test-samples | |
working-directory: js/npm |