Add workflow file
This commit is contained in:
parent
82f1f0c63c
commit
05e7828f76
1 changed files with 15 additions and 0 deletions
15
.forgejo/workflows/check.yaml
Normal file
15
.forgejo/workflows/check.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
print-content:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: formatting
|
||||||
|
run: cargo fmt -- --check
|
||||||
|
- name: lints
|
||||||
|
run: cargo clippy -- -Dwarnings
|
||||||
|
- name: cargo
|
||||||
|
run: cargo check --all-targets
|
||||||
|
- name: test
|
||||||
|
run: cargo test
|
||||||
Loading…
Add table
Add a link
Reference in a new issue