Switched from custom pre-commit script to using the pre-commit tool
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user