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

View file

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