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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: rust
|
||||
image: node:alpine
|
||||
steps:
|
||||
# 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
|
||||
- run: apk add curl gcc rustup cargo rust
|
||||
- run: rustup component add rustfmt clippy
|
||||
- run: cargo fmt -- --check
|
||||
- run: cargo clippy -- -D warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue