Skip to content

Commit

Permalink
Switch to cmd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage committed May 5, 2022
1 parent d263923 commit 086f29a
Showing 1 changed file with 6 additions and 34 deletions.
40 changes: 6 additions & 34 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,15 @@ name: Check
on:
pull_request:

env:
GIT_REF: '1.2.0'

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
check-code-style:
name: Code Style
uses: playframework/.github/.github/workflows/sbt.yml@v1
with:
cmd: sbt validateCode

check-docs:
name: Docs
uses: playframework/.github/.github/workflows/sbt.yml@v1
with:
cmd: sbt docs/webStage

tests:
name: Tests
needs: # Waiting more lightweight checks
- "check-code-style"
- "check-docs"
uses: playframework/.github/.github/workflows/sbt.yml@v1
with:
cmd: sbt +test

scripted-tests:
name: Scripted tests
needs: # Waiting more lightweight checks
- "tests"
uses: playframework/.github/.github/workflows/sbt.yml@v1
with:
cmd: sbt +publishLocal plugin/scripted

finish:
name: Finish
needs: # Should be last
- "scripted-tests"
uses: playframework/.github/.github/workflows/rtm.yml@v1
check-binary-compatibility:
name: Binary Compatibility
uses: playframework/.github/.github/workflows/binary-check.yml@custom-git-ref

0 comments on commit 086f29a

Please sign in to comment.