Add Clippy checks to regular push and release Actions
Some checks failed
Run Tests on Code / run-tests (push) Failing after 1s

This commit is contained in:
Neshura 2023-12-19 22:12:28 +01:00
parent 1f0c42bfdb
commit 5c59437595
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 8 additions and 5 deletions

View file

@ -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 " ")

View file

@ -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