Improve multiply-defined route error message #102
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: test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: { types: [opened, reopened, synchronize, ready_for_review] } | |
push: { branches: [ main ] } | |
env: | |
LOG_LEVEL: info | |
SWIFT_DETERMINISTIC_HASHING: 1 | |
jobs: | |
unit-tests: | |
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main | |
upstream-check: | |
runs-on: ubuntu-latest | |
container: swift:5.9-jammy | |
steps: | |
- name: Check out self | |
uses: actions/checkout@v4 | |
with: | |
path: routing-kit | |
- name: Check out Vapor | |
uses: actions/checkout@v4 | |
with: | |
repository: vapor/vapor | |
path: vapor | |
- name: Use local package | |
run: swift package --package-path vapor edit routing-kit --path routing-kit | |
- name: Run tests | |
run: swift test --package-path vapor |