Skip to content

Adopt Swift Testing and 6.0 for CI. #62

Adopt Swift Testing and 6.0 for CI.

Adopt Swift Testing and 6.0 for CI. #62

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
LatestVersionBuild:
name: Image ${{ matrix.image }}
strategy:
matrix:
image: ["swift:6.0.0-noble", "swift:6.0.0-jammy", "swift:6.0.0-amazonlinux2"]
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build -c release -Xswiftc -strict-concurrency=complete
- name: Run tests
run: swift test
SwiftLint:
name: SwiftLint version 3.2.1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1