try to set up the ci workflow as described in the book
Some checks failed
/ ci (push) Failing after 13m31s
Some checks failed
/ ci (push) Failing after 13m31s
This commit is contained in:
parent
b33bfb2bfb
commit
faf8b603ae
2 changed files with 17 additions and 8 deletions
17
.forgejo/workflows/ci.yaml
Normal file
17
.forgejo/workflows/ci.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: [native]
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: tests
|
||||
run : cargo test
|
||||
- name: linting
|
||||
run : cargo clippy -- -D warnings
|
||||
- name: format
|
||||
run : cargo fmt
|
||||
- name: install cargo audit
|
||||
run : cargo install cargo-audit
|
||||
- name: audit
|
||||
run : cargo audit
|
||||
Loading…
Add table
Add a link
Reference in a new issue