Skip to content

Commit

Permalink
Pin GitHub Actions runners to a specific version
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Nov 9, 2023
1 parent 3d0c2c3 commit 4b45e6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/exercise-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
fail-fast: false
matrix:
go-version: [1.20.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-22.04, windows-2022, macOS-latest]
test-arch: [amd64]
race: ["-race"]

include:
- go-version: 1.20.x
test-arch: "386"
os: ubuntu-latest
os: ubuntu-22.04
race: ""
- go-version: 1.20.x
test-arch: "386"
os: windows-latest
os: windows-2022
race: ""

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gomod-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
check:
name: go.mod check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stub-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
fail-fast: false
matrix:
go-version: [1.20.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-22.04, windows-2022, macOS-latest]
test-arch: [amd64]
race: ["-race"]

include:
- go-version: 1.20.x
test-arch: "386"
os: ubuntu-latest
os: ubuntu-22.04
race: ""
- go-version: 1.20.x
test-arch: "386"
os: windows-latest
os: windows-2022
race: ""

steps:
Expand Down

0 comments on commit 4b45e6a

Please sign in to comment.