Skip to content

Commit

Permalink
Run CI in a Docker container for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jan 7, 2024
1 parent 409c5e4 commit 9581548
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ jobs:
build:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-13']
swift: ['5.4', '5.9']

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
container: swift:${{ matrix.swift }}

steps:
- uses: actions/checkout@v4
- name: Install Swift
# TODO: Use swift-actions/setup-swift once gpg failures have been fixed
uses: fwal/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- name: Build
run: swift build
- name: Test
Expand Down

0 comments on commit 9581548

Please sign in to comment.