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

Update CI config #125

Closed
wants to merge 3 commits into from
Closed
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
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
minrust: '1.56'

jobs:
test:
Expand All @@ -29,9 +28,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update ${{ env.minrust }} && rustup default ${{ env.minrust }}
- run: cargo check --workspace --all-features
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --workspace --all-features --ignore-private --rust-version

no-std:
strategy:
Expand Down Expand Up @@ -88,7 +87,7 @@ jobs:
echo "::set-output name=success::false"
fi
if: github.repository_owner == 'tokio-rs' && github.event_name == 'schedule'
- uses: peter-evans/create-pull-request@v3
- uses: peter-evans/create-pull-request@v5
with:
title: Update no_atomic.rs
body: |
Expand All @@ -106,7 +105,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- run: cargo fmt --all -- --check
- run: cargo fmt --all --check

docs:
runs-on: ubuntu-latest
Expand Down