diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 984d277..371e310 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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