Skip to content

Commit b745188

Browse files
author
Aditya Kajla
committed
Use goreleaser 2
1 parent ccffa90 commit b745188

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

.github/workflows/go.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
with:
1818
go-version: "^1.23.0"
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 2
2323
- name: Verify Go dependencies
2424
run: go mod verify
2525
- name: Run unit tests
2626
run: go test -v ./...
2727
- name: Goreleaser check
28-
uses: goreleaser/goreleaser-action@v4
28+
uses: goreleaser/goreleaser-action@v6
2929
with:
3030
distribution: goreleaser
3131
version: latest
@@ -39,7 +39,7 @@ jobs:
3939
go-version: "^1.23.0"
4040
cache: false
4141
- name: Checkout
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343
with:
4444
fetch-depth: 0
4545
- name: Run golangci-lint

.github/workflows/mysql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
go-version: "^1.23.0"
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 2
2424
- name: Build binary

.github/workflows/postgres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
go-version: "^1.23.0"
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 2
2424
- name: Build binary

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
username: ${{ secrets.DOCKER_USER }}
2323
password: ${{ secrets.DOCKER_TOKEN }}
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
- name: Release with Goreleaser
29-
uses: goreleaser/goreleaser-action@v4
29+
uses: goreleaser/goreleaser-action@v6
3030
with:
3131
distribution: goreleaser
3232
version: latest

.github/workflows/sqlite.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
go-version: "^1.23.0"
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 2
2424
- name: Build binary

.goreleaser.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
# - go mod tidy
@@ -32,7 +33,7 @@ archives:
3233
checksum:
3334
name_template: 'checksums.txt'
3435
snapshot:
35-
name_template: "{{ incpatch .Version }}-next"
36+
version_template: "{{ incpatch .Version }}-next"
3637
changelog:
3738
sort: asc
3839
filters:

0 commit comments

Comments
 (0)