Switched from custom pre-commit script to using the pre-commit tool
Some checks failed
Build and deploy automation_rs / Build automation_rs (push) Failing after 2m57s
Build and deploy automation_rs / Build Docker image (push) Has been skipped
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped

This commit is contained in:
2024-05-07 23:40:23 +02:00
parent 794b8eef19
commit 812da502f5
4 changed files with 44 additions and 23 deletions

View File

@@ -20,11 +20,14 @@ jobs:
with:
rustflags: ""
- name: Formatting
uses: actions-rust-lang/rustfmt@v1
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Clippy
run: cargo clippy --all-targets --all -- -D warnings
- run: 'echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."'
- run: 'echo "Come values: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles(''.pre-commit-config.yaml'') }}"'
- uses: pre-commit/action@v3.0.1
- name: Build
run: cargo build --release