Skip to content

Commit

Permalink
📌 Test on Rust stable, beta and nightly toolchains
Browse files Browse the repository at this point in the history
Test on all three release channels of Rust.
  • Loading branch information
weiji14 committed Jul 8, 2024
1 parent e9eafef commit 8670050
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,20 @@ permissions:
contents: read

jobs:
cargo:
rust:
runs-on: ubuntu-24.04
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Update Rust toolchain
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- name: Build
run: cargo build --verbose
Expand Down

0 comments on commit 8670050

Please sign in to comment.