Add UTF8 test and use 2y as alias for 2b #34
This file contains hidden or 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: Lint, Build & Test with Coverage | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: swift:noble | |
| steps: | |
| - name: Install curl | |
| run: apt-get update -yq && apt-get install -y curl | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Lint | |
| run: swift-format lint --recursive --strict --parallel . | |
| - name: Build | |
| run: swift build | |
| - name: Test | |
| run: swift test --enable-code-coverage | |
| - name: Generate Coverage Report | |
| uses: vapor/swift-codecov-action@v0.3 | |
| with: | |
| codecov_token: ${{ secrets.CODECOV_TOKEN }} |