Skip to content

Commit

Permalink
chore: init ci (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapoz authored Sep 27, 2023
1 parent 064ed02 commit 7709513
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: basics

on:
pull_request:
push:
branches:
- main

env:
CARGO_TERM_COLOR: always

jobs:
core:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
checks: [
cargo fmt --all --check,
cargo check --all-targets --all-features,
cargo clippy --all-targets --all-features,
cargo test
]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: ${{ matrix.checks }}
run: ${{ matrix.checks }}

0 comments on commit 7709513

Please sign in to comment.