Switched from custom pre-commit script to using the pre-commit tool
This commit is contained in:
@@ -20,11 +20,20 @@ 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 2
|
||||
echo "::error::Hello"
|
||||
echo "::error::pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}"
|
||||
echo "::error::Hello?"
|
||||
ls ${{ gitea.workspace }}
|
||||
sleep 2
|
||||
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
|
||||
Reference in New Issue
Block a user