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 3m20s
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 6555c0b245
4 changed files with 49 additions and 23 deletions

View File

@@ -20,11 +20,19 @@ 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
- name: "DEBUG"
run: |
sleep 10
echo "::error::Hello"
echo "::error::pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}"
echo "::error::Hello?"
ls ${{ gitea.workspace }}
- uses: pre-commit/action@v3.0.1
- name: Build
run: cargo build --release