mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 10:26:29 +02:00
ci: add goreleaser compatibility check
This commit is contained in:
parent
5a4acc5cd3
commit
abcd987825
2 changed files with 21 additions and 2 deletions
19
.github/workflows/goreleaser-check.yaml
vendored
Normal file
19
.github/workflows/goreleaser-check.yaml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: goreleaser-check
|
||||
|
||||
on:
|
||||
pull_request: {}
|
||||
|
||||
jobs:
|
||||
goreleaser-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout goreleaser.yaml
|
||||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
||||
with:
|
||||
sparse-checkout: goreleaser.yaml
|
||||
sparse-checkout-cone-mode: false
|
||||
- name: Check goreleaser config is compatible with latest version
|
||||
uses: goreleaser/goreleaser-action@v4.3.0
|
||||
with:
|
||||
version: latest
|
||||
args: check
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
@ -57,9 +57,9 @@ jobs:
|
|||
run: gcloud auth configure-docker
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v4.3.0
|
||||
uses: goreleaser/goreleaser-action@v4.4.0
|
||||
with:
|
||||
version: v0.184.0
|
||||
version: v1.20.0
|
||||
args: release --config .github/goreleaser.yaml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Reference in a new issue