Skip to content

Commit

Permalink
Pin test and release runners to ubuntu-20.04 (#216)
Browse files Browse the repository at this point in the history
* Pin test and release runners to ubuntu-20.04

This should avoid pulling in breaking version of glibc until we address #120.

* Also pin windows and mac.

Co-authored-by: Matthew Tamayo <matthew@getmethodic.com>
  • Loading branch information
geekbeast and Matthew Tamayo authored Jan 19, 2023
1 parent 52b1d65 commit 722daca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
strategy:
matrix:
rust-toolchain: [stable]
os: [ubuntu-latest, macos-11, windows-latest]
os: [ubuntu-20.04, macos-11, windows-2022]
arch: [amd64, arm64]
exclude:
- os: windows-latest
arch: arm64
include:
- os: ubuntu-latest
- os: ubuntu-20.04
name: linux
rust_abi: unknown-linux-gnu
- os: macos-11
name: darwin
rust_abi: apple-darwin
- os: windows-latest
- os: windows-2022
name: windows
rust_abi: pc-windows-msvc
extension: .exe
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
platform: [ubuntu-20.04, windows-2022, macos-11]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
trap-test:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
platform: [ubuntu-20.04, windows-2022, macos-11]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
shell: bash

package-check:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 722daca

Please sign in to comment.