Update chimney to 1.7.1 #342
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: Verify pull request | |
on: | |
pull_request: | |
branches: | |
- "main" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
changes: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: read | |
outputs: | |
back-end-paths-changed: ${{ steps.back-end.outputs.back-end-src }} | |
front-end-paths-changed: ${{ steps.front-end.outputs.front-end-src }} | |
steps: | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: back-end | |
with: | |
filters: | | |
back-end-src: | |
- 'app/**' | |
- 'test/**' | |
- 'conf/**' | |
- 'scripts/**' | |
- 'build.sbt' | |
- 'project/**' | |
- '.scalafmt.conf' | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: front-end | |
with: | |
filters: | | |
front-end-src: | |
- 'frontend/**' | |
back-end-test: | |
needs: changes | |
# The output is a string, hence the string comparison. | |
if: ${{ needs.changes.outputs.back-end-paths-changed == 'true' }} | |
uses: ./.github/workflows/scala-tests.yml | |
front-end-test: | |
needs: changes | |
# The output is a string, hence the string comparison. | |
if: ${{ needs.changes.outputs.front-end-paths-changed == 'true' }} | |
uses: ./.github/workflows/elm-tests.yml | |
combine-tests: | |
needs: | |
- back-end-test | |
- front-end-test | |
runs-on: ubuntu-latest | |
if: always() && (needs.back-end-test.result == 'success' || needs.back-end-test.result == 'skipped') && (needs.front-end-test.result == 'success' || needs.front-end-test.result == 'skipped') | |
steps: | |
- name: Finish test | |
run: echo "All tests passed" |