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:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container: rust:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checking Out Repository Code
|
- name: Checking Out Repository Code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Placeholder
|
- name: Run Clippy
|
||||||
run: echo Placeholder Job
|
run: cargo clippy
|
||||||
- name: Check if Version in Cargo.toml matches Tag
|
- name: Check if Version in Cargo.toml matches Tag
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||||
|
|
|
@ -10,7 +10,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container: rust:latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checking Out Repository Code
|
||||||
name: Placeholder
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
run: echo Placeholder Job
|
- name: Run Clippy
|
||||||
|
run: cargo clippy
|
Loading…
Reference in a new issue