ci: pin runner version

This commit is contained in:
EdJoPaTo
2022-04-28 01:03:19 +02:00
parent cf496f0a24
commit b35666eab0
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs: jobs:
tarpaulin: tarpaulin:
name: Tarpaulin name: Tarpaulin
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Setup Rust - name: Setup Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
+13 -13
View File
@@ -18,8 +18,8 @@ jobs:
toolchain: toolchain:
- stable - stable
os: os:
- ubuntu-latest - ubuntu-20.04
- macos-latest - macos-11
clippyargs: clippyargs:
- -D clippy::pedantic -D warnings - -D clippy::pedantic -D warnings
features: features:
@@ -27,18 +27,18 @@ jobs:
include: include:
# Check future versions and maybe get some glances on soon to be lints # Check future versions and maybe get some glances on soon to be lints
- toolchain: beta - toolchain: beta
os: ubuntu-latest os: ubuntu-20.04
features: --all-features features: --all-features
clippyargs: -W clippy::pedantic -W clippy::nursery -W clippy::cargo clippyargs: -W clippy::pedantic -W clippy::nursery -W clippy::cargo
- toolchain: nightly - toolchain: nightly
os: ubuntu-latest os: ubuntu-20.04
features: --all-features features: --all-features
clippyargs: -W clippy::pedantic clippyargs: -W clippy::pedantic
# Check the minimum supported Rust version (MSRV). # Check the minimum supported Rust version (MSRV).
# Sometimes old rust versions don't yet have the lints (allow unknown) or don't have fixes in lints (false positives -> don't error, just warn). # Sometimes old rust versions don't yet have the lints (allow unknown) or don't have fixes in lints (false positives -> don't error, just warn).
# When a certain distro is a target look up its version: https://repology.org/project/rust/versions # When a certain distro is a target look up its version: https://repology.org/project/rust/versions
- os: ubuntu-latest - os: ubuntu-20.04
toolchain: 1.56.1 toolchain: 1.56.1
clippyargs: -A unknown-lints clippyargs: -A unknown-lints
features: --all-features features: --all-features
@@ -86,18 +86,18 @@ jobs:
matrix: matrix:
include: include:
- triple: x86_64-unknown-linux-gnu - triple: x86_64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-20.04
- triple: arm-unknown-linux-gnueabihf
os: ubuntu-latest
- triple: armv7-unknown-linux-gnueabihf
os: ubuntu-latest
- triple: aarch64-unknown-linux-gnu - triple: aarch64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-20.04
- triple: armv7-unknown-linux-gnueabihf
os: ubuntu-20.04
- triple: arm-unknown-linux-gnueabihf
os: ubuntu-20.04
- triple: x86_64-apple-darwin - triple: x86_64-apple-darwin
os: macos-latest os: macos-11
- triple: aarch64-apple-darwin - triple: aarch64-apple-darwin
os: macos-latest os: macos-11
steps: steps:
- name: Setup Rust - name: Setup Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs: jobs:
rustfmt: rustfmt:
name: Rustfmt name: Rustfmt
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Setup Rust - name: Setup Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1