aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2024-06-06 11:33:19 +0300
committerGitHub <[email protected]>2024-06-06 11:33:19 +0300
commit5db2f81695c27016c154743929fe727cbfa0c8f9 (patch)
tree7a65d48671152efe965592ee208ebd4f7eab24a3
parent243351b2b19d39790311320c4ba7e1ac1692bbe8 (diff)
downloadcaddy-5db2f81695c27016c154743929fe727cbfa0c8f9.tar.gz
caddy-5db2f81695c27016c154743929fe727cbfa0c8f9.zip
ci: add version key for .goreleaser.yml (#6376)
Signed-off-by: Mohammed Al Sahaf <[email protected]>
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--.github/workflows/release.yml2
-rw-r--r--.goreleaser.yml2
3 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cbd794c1b..e6fe6d755 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -175,7 +175,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- - uses: goreleaser/goreleaser-action@v5
+ - uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: check
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 514237ffb..cb5d750dc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -106,7 +106,7 @@ jobs:
run: syft version
# GoReleaser will take care of publishing those artifacts into the release
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v5
+ uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean --timeout 60m
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 0fba8e2c4..22f96b588 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -1,3 +1,5 @@
+version: 2
+
before:
hooks:
# The build is done in this particular way to build Caddy in a designated directory named in .gitignore.