Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 46198e488c | |||
| 775d25cb59 | |||
| ef992cb9db | |||
| c3b8a3f1ce |
@@ -25,7 +25,7 @@ jobs:
|
||||
# Download baseline coverage from main branch (for PRs)
|
||||
- name: Download baseline coverage
|
||||
if: gitea.event_name == 'pull_request'
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: coverage-baseline
|
||||
path: ./baseline
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
# Upload coverage as baseline (only on main)
|
||||
- name: Upload coverage baseline
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: coverage-baseline
|
||||
path: coverage.txt
|
||||
|
||||
@@ -30,10 +30,10 @@ repos:
|
||||
- id: go-test
|
||||
- id: gofumpt
|
||||
- repo: https://github.com/golangci/golangci-lint
|
||||
rev: v2.11.3
|
||||
rev: v2.11.4
|
||||
hooks:
|
||||
- id: golangci-lint-full
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: v8.30.0
|
||||
rev: v8.30.1
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
|
||||
Reference in New Issue
Block a user