24 lines
493 B
YAML
24 lines
493 B
YAML
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 clone https://git.jlux.dev/${{ gitea.repository }} . && git checkout ${{ gitea.ref }}
|
|
- run: cargo build --verbose
|
|
- run: cargo clippy -- -D warnings
|
|
- run: cargo test --verbose
|