Use Structured Concurrency #1683
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: tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: { types: [opened, reopened, synchronize, ready_for_review] } | |
push: { branches: [main] } | |
jobs: | |
unit-tests: | |
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main | |
with: | |
with_coverage: false | |
with_tsan: false | |
with_api_check: false | |
with_deps_submission: true | |
with_gh_codeql: false # Temporary, until the action actually works | |
cloudformation-lint: | |
name: Check CloudFormation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup and run CloudFormation lint | |
uses: ScottBrenner/cfn-lint-action@v2 | |
with: | |
command: cfn-lint -t ./deploy/penny-discord-bot-stack.yml |