This commit is contained in:
23
.gitea/workflows/cargo-test.yml
Normal file
23
.gitea/workflows/cargo-test.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Test the running changes
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "dev" ]
|
||||
#pull_request:
|
||||
# branches: [ "master" ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: rust-latest
|
||||
|
||||
steps:
|
||||
#- run: apt-get update -y
|
||||
#- uses: actions/checkout@v6
|
||||
- run: git checkout dev
|
||||
- run: cargo build --verbose
|
||||
- run: cargo clippy -- -D warnings
|
||||
- run: cargo test --verbose
|
||||
Reference in New Issue
Block a user