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

chore: keep rust version up-to-date with stable channel in CI #320

Closed
Closed
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache cargo bin
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Test
run: make test
nits:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install cargo deadlinks
Expand All @@ -25,4 +25,4 @@ jobs:
chmod +x ~/.cargo/bin/cargo-deadlinks
cargo deadlinks --version
- name: Nits
run: make nits
run: make nits
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ all: test nits

.PHONY: test
test:
rustup update
cargo test --release
cargo test --release --features=lp
# don't run examples in proof-production mode
Expand All @@ -10,6 +11,7 @@ test:

.PHONY: nits
nits:
rustup update
rustup component add rustfmt clippy
cargo fmt -- --check
cargo clean --doc
Expand All @@ -23,4 +25,4 @@ nits:

.PHONY: docs
docs:
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --open
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --open
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

Loading