Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6607bd0c0f | |||
| 46493a3896 | |||
| 3728e83db5 | |||
| 2c687986a7 | |||
| de09e37727 | |||
| 3ba763181c |
@@ -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.10.1
|
||||
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