Skip to content

Commit

Permalink
ci: switch linux hosts to ubuntu-latest
Browse files Browse the repository at this point in the history
This is what we prefer in the main rustls repo.
  • Loading branch information
cpu committed Apr 6, 2024
1 parent 7ba4ab7 commit 2433110
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name: rustls-pemfile

jobs:
rustfmt:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: actions/checkout@v4
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: actions/checkout@v4
- run: cargo clippy --locked --all-features --all-targets
rustdoc:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
- stable
- beta
- nightly
os: [ubuntu-20.04]
os: [ubuntu-latest]
# but only stable on macos/windows (slower platforms)
include:
- os: macos-latest
Expand Down

0 comments on commit 2433110

Please sign in to comment.