diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..de1d49b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: + - main + paths: + - "**.swift" + - "**.yml" + pull_request: + workflow_dispatch: + +jobs: + linux: + runs-on: ubuntu-latest + timeout-minutes: 15 + strategy: + matrix: + image: ["swift:5.10", "swiftlang/swift:nightly-6.0-jammy"] + + container: + image: ${{ matrix.image }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Test + run: swift test