Skip to content

Commit 9ebcfdb

Browse files
committed
update workflow
1 parent 738e39f commit 9ebcfdb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/prod.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ env:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
rust: [stable, beta, nightly]
1720

1821
steps:
1922
- uses: actions/checkout@v2
23+
- run: rustup toolchain install ${{ matrix.rust }} && rustup default ${{ matrix.rust }} && rustup update ${{ matrix.rust }}
2024
- name: Build
2125
run: cargo build --verbose
2226
- name: Test
@@ -25,5 +29,5 @@ jobs:
2529
run: cargo clippy -- -D warnings
2630
- name: Format
2731
run: cargo fmt -- --check
28-
32+
2933

0 commit comments

Comments
 (0)