Skip to content

Commit

Permalink
add ci.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lain-dono committed Dec 26, 2023
1 parent b264670 commit 2034df7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always

jobs:
checker:
name: Cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: r7kamura/[email protected]
- name: clippy
run: cargo clippy --all --all-targets
- name: fmt
run: cargo fmt --all -- --check
- name: build
run: cargo build --verbose

0 comments on commit 2034df7

Please sign in to comment.