dev: CI cleanups (#4008)
This commit is contained in:
parent
7b861ddd90
commit
6efb0098a1
6
.github/workflows/pr.yml
vendored
6
.github/workflows/pr.yml
vendored
@ -114,9 +114,6 @@ jobs:
|
||||
check_generated:
|
||||
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
# needed for github-action-config.json generation
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Unshallow
|
||||
@ -131,3 +128,6 @@ jobs:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
- name: Check generated files are up to date
|
||||
run: make fast_check_generated
|
||||
env:
|
||||
# needed for github-action-config.json generation
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
4
.github/workflows/tag.yml
vendored
4
.github/workflows/tag.yml
vendored
@ -7,8 +7,6 @@ on:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Go
|
||||
@ -26,7 +24,7 @@ jobs:
|
||||
uses: goreleaser/goreleaser-action@v4
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
args: release --clean
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user