Create tests.yml #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/clippy.yml | |
name: Clippy Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
libwasmvm_clippy_msrv: | |
runs-on: ubuntu-latest | |
container: | |
image: rust:1.83.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Version information | |
run: rustc --version && cargo --version | |
- name: Add clippy component | |
run: rustup component add clippy | |
- name: Run clippy | |
working-directory: libwasmvm | |
run: cargo clippy --all-targets -- -D warnings | |
libwasmvm_clippy_stable: | |
runs-on: ubuntu-latest | |
container: | |
image: rust:1.83.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Version information | |
run: rustc --version && cargo --version | |
- name: Add clippy component | |
run: rustup component add clippy | |
- name: Run clippy | |
working-directory: libwasmvm | |
run: cargo clippy --all-targets -- -D warnings |