Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/wrap_and_send
Browse files Browse the repository at this point in the history
  • Loading branch information
foxpy committed Nov 7, 2023
2 parents 621bb94 + fc3eff0 commit c951424
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
on:
push:
branches:
- '**'

name: tests

jobs:
clippy:
name: Actions - clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.71.0
components: clippy
profile: minimal
override: true
- run: make clippy

rustfmt:
name: Actions - rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.71.0
components: rustfmt
profile: minimal
override: true
- run: make fmt

unit-test:
name: Actions - unit test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.71.0
profile: minimal
- run: make test
env:
RUST_BACKTRACE: 1

0 comments on commit c951424

Please sign in to comment.