Add Clippy checks to regular push and release Actions
Some checks failed
Run Tests on Code / run-tests (push) Failing after 1s
Some checks failed
Run Tests on Code / run-tests (push) Failing after 1s
This commit is contained in:
parent
1f0c42bfdb
commit
5c59437595
2 changed files with 8 additions and 5 deletions
|
@ -9,11 +9,12 @@ on:
|
|||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
container: rust:latest
|
||||
steps:
|
||||
- name: Checking Out Repository Code
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Placeholder
|
||||
run: echo Placeholder Job
|
||||
- name: Run Clippy
|
||||
run: cargo clippy
|
||||
- name: Check if Version in Cargo.toml matches Tag
|
||||
run: |
|
||||
VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
|
|
|
@ -10,7 +10,9 @@ on:
|
|||
jobs:
|
||||
run-tests:
|
||||
runs-on: docker
|
||||
container: rust:latest
|
||||
steps:
|
||||
-
|
||||
name: Placeholder
|
||||
run: echo Placeholder Job
|
||||
- name: Checking Out Repository Code
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: Run Clippy
|
||||
run: cargo clippy
|
Loading…
Reference in a new issue