Fix build on 5.10; Fix swiftlint warnings #9
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: ["ubuntu-22.04"] #, "macos-latest"] | |
| swift-version: ["5.10", "6.0", "6.1"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Swift and SwiftPM | |
| uses: vapor/[email protected] | |
| with: | |
| toolchain: ${{ matrix.swift-version }} | |
| - name: Get Swift version | |
| run: swift --version | |
| - name: Build | |
| run: swift build | |
| # - name: Run tests | |
| # run: swift test |