Skip to content

Fix GitHub CI workflows #16

Fix GitHub CI workflows

Fix GitHub CI workflows #16

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.52.0
- stable
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
override: true
# clippy
- uses: clechasseur/rs-clippy-check@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo clippy -- -D warnings
# test
- name: Cargo Test
run: cargo test