Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Don't use nightly for fmt or readme #42

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/formal.yml
Original file line number Diff line number Diff line change
@@ -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:
@@ -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