Skip to content

Commit cd83f6c

Browse files
committed
Update cicd
1 parent a63d9fc commit cd83f6c

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/test.yml

+9-13
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions-rs/toolchain@v1
20-
with:
21-
toolchain: stable
22-
- name: Lint
23-
uses: actions-rs/clippy-check@v1
24-
with:
25-
token: ${{ secrets.GITHUB_TOKEN }}
26-
continue-on-error: true
27-
- name: Test
28-
uses: actions-rs/cargo@v1
29-
with:
30-
command: test
18+
- name: Setup Rust
19+
uses: actions/checkout@v4
20+
run: |
21+
rustup update stable && rustup default stable
22+
- name: Run tests
23+
uses: actions/checkout@v4
24+
run: cargo test --verbose
25+
- name: Run linting
26+
run: cargo clippy

0 commit comments

Comments
 (0)