Compare commits
No commits in common. "4ca71006590c80245c0aab50fc3f13e1b24d6989" and "5097f75e938b4371facbb217a0f04167b696d15e" have entirely different histories.
4ca7100659
...
5097f75e93
|
@ -3,17 +3,17 @@ name: Rust Checks
|
|||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: main
|
||||
runs-on: rust
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Use cache
|
||||
run: mkdir -p /cache/${{ gitea.repository }} && ln -s /cache/${{ gitea.repository }} target
|
||||
run: mkdir -p /data/projects/${{ gitea.repository }}/target && find /data/projects/${{ gitea.repository }}/* -maxdepth 0 ! -name '*target*' -exec rm -r {} + && cp -rp * /data/projects/${{ gitea.repository }}
|
||||
- name: Cargo fmt
|
||||
run: cargo fmt --check
|
||||
run: bash -c "cd /data/projects/${{ gitea.repository }} && cargo fmt --check"
|
||||
- name: Cargo build
|
||||
run: cargo build
|
||||
run: bash -c "cd /data/projects/${{ gitea.repository }} && cargo build"
|
||||
- name: Cargo test
|
||||
run: cargo test
|
||||
run: bash -c "cd /data/projects/${{ gitea.repository }} && cargo test"
|
||||
- name: Cargo clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
run: bash -c "cd /data/projects/${{ gitea.repository }} && cargo clippy -- -D warnings"
|
||||
|
|
Loading…
Reference in a new issue