Skip to content

Commit

Permalink
ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Jun 2, 2024
1 parent e81f79d commit fe11178
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [push]

jobs:
ci:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install nightly toolchain
run: |
rustup toolchain install nightly
rustup default nightly
rustup component add rustfmt clippy --toolchain nightly
- name: Run cargo check
run: cargo check

- name: Run fmt check
run: cargo fmt --check

- name: Run lint
run: cargo clippy

0 comments on commit fe11178

Please sign in to comment.