Update .github/workflows/test.yml
Some checks failed
Compile Rust Code on Release / lint&test (push) Failing after 1m35s
Some checks failed
Compile Rust Code on Release / lint&test (push) Failing after 1m35s
This commit is contained in:
parent
d173dfb456
commit
b898faa2d5
1 changed files with 2 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -5,11 +5,11 @@ jobs:
|
||||||
lint&test:
|
lint&test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust
|
image: node:alpine
|
||||||
steps:
|
steps:
|
||||||
# nodejs is required for the checkout action
|
# nodejs is required for the checkout action
|
||||||
- run: curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: apk add curl gcc rustup cargo rust
|
||||||
- run: rustup component add rustfmt clippy
|
- run: rustup component add rustfmt clippy
|
||||||
- run: cargo fmt -- --check
|
- run: cargo fmt -- --check
|
||||||
- run: cargo clippy -- -D warnings
|
- run: cargo clippy -- -D warnings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue