Skip to content

Commit

Permalink
CI: Don't use nightly for fmt or readme
Browse files Browse the repository at this point in the history
Merges: #42
  • Loading branch information
chrysn authored Mar 12, 2024
2 parents e99bf19 + 3112a7e commit bfb181e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/formal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ on:
jobs:
rustfmt:
runs-on: ubuntu-latest
container: rustlang/rust:nightly
container: docker.io/rust
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Add rustfmt component
run: rustup component add rustfmt
- name: Run cargo-fmt
run: cargo fmt --check

cargo-readme:
runs-on: ubuntu-latest
container: rustlang/rust:nightly
container: docker.io/rust
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -28,4 +30,4 @@ jobs:
crate: cargo-readme
version: latest
- name: Verify that README.rst is up to date
run: cargo +nightly readme | diff /dev/stdin README.md
run: cargo readme | diff /dev/stdin README.md

0 comments on commit bfb181e

Please sign in to comment.