Skip to content

Commit

Permalink
Use setup action instead of image
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvanstraten committed Sep 8, 2023
1 parent ef6a41b commit cd81118
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: swift:latest

services:
redis:
Expand All @@ -16,6 +14,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Swift
uses: swift-actions/[email protected]
with:
swift-version: "5.7.1"
- name: Build
run: swift build
- name: Test
Expand Down

0 comments on commit cd81118

Please sign in to comment.