gitea actions
Some checks failed
continuous integration / check (push) Has been cancelled
continuous integration / test (push) Has been cancelled
continuous integration / fmt (push) Has been cancelled
continuous integration / clippy (push) Has been cancelled
continuous integration / build (push) Has been cancelled
Some checks failed
continuous integration / check (push) Has been cancelled
continuous integration / test (push) Has been cancelled
continuous integration / fmt (push) Has been cancelled
continuous integration / clippy (push) Has been cancelled
continuous integration / build (push) Has been cancelled
This commit is contained in:
parent
552ced69e1
commit
9db485c681
45
.gitea/workflows/actions.yml
Normal file
45
.gitea/workflows/actions.yml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
on: [push, pull_request]
|
||||||
|
name: continuous integration
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: cargo check
|
||||||
|
|
||||||
|
test:
|
||||||
|
name: test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: cargo test
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
name: fmt
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: rustup component add rustfmt
|
||||||
|
- run: cargo fmt --all -- --check
|
||||||
|
|
||||||
|
clippy:
|
||||||
|
name: clippy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: rustup component add clippy
|
||||||
|
- run: cargo clippy -- -D warnings
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: cargo build
|
Loading…
x
Reference in New Issue
Block a user