Skip to content

Commit e9978d1

Browse files
committed
Updated to go 1.26 and CI actions
1 parent 047e8a1 commit e9978d1

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
GOARCH: amd64
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020

2121
- name: Setup Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.25.0
24+
go-version: '1.26'
2525

2626
- name: Download dependencies
2727
run: go mod download

.github/workflows/release.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
GOARCH: amd64
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Setup Go
21-
uses: actions/setup-go@v5
21+
uses: actions/setup-go@v6
2222
with:
23-
go-version: '1.25'
23+
go-version: '1.26'
2424

2525
- name: Download dependencies
2626
run: go mod download
@@ -41,23 +41,23 @@ jobs:
4141

4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4545

4646
- name: Unshallow
4747
run: git fetch --prune --unshallow
4848

4949
- name: Setup Go
50-
uses: actions/setup-go@v5
50+
uses: actions/setup-go@v6
5151
with:
52-
go-version: 1.25.0
52+
go-version: '1.26'
5353

5454
- name: Setup pnpm
55-
uses: pnpm/action-setup@v4
55+
uses: pnpm/action-setup@v5
5656
with:
5757
version: 10
5858

5959
- name: Setup Node.js
60-
uses: actions/setup-node@v4
60+
uses: actions/setup-node@v6
6161
with:
6262
node-version: lts/Jod
6363
cache-dependency-path: 'www/pnpm-lock.yaml'
@@ -73,7 +73,7 @@ jobs:
7373
run: go mod download
7474

7575
- name: GoReleaser
76-
uses: goreleaser/goreleaser-action@v5
76+
uses: goreleaser/goreleaser-action@v7
7777
with:
7878
distribution: goreleaser
7979
version: "~> v1"
@@ -94,31 +94,31 @@ jobs:
9494

9595
steps:
9696
- name: Checkout
97-
uses: actions/checkout@v4
97+
uses: actions/checkout@v6
9898

9999
- name: Unshallow
100100
run: git fetch --prune --unshallow
101101

102102
- name: Setup Go
103-
uses: actions/setup-go@v5
103+
uses: actions/setup-go@v6
104104
with:
105-
go-version: 1.25.0
105+
go-version: '1.26'
106106

107107
- name: Setup pnpm
108-
uses: pnpm/action-setup@v4
108+
uses: pnpm/action-setup@v5
109109
with:
110110
version: 10
111111

112112
- name: Setup Node.js
113-
uses: actions/setup-node@v4
113+
uses: actions/setup-node@v6
114114
with:
115115
node-version: lts/Jod
116116
cache-dependency-path: 'www/pnpm-lock.yaml'
117117
cache: 'pnpm'
118118

119119
- name: Setup Docker Buildx
120120
id: buildx
121-
uses: docker/setup-buildx-action@v3
121+
uses: docker/setup-buildx-action@v4
122122

123123
- name: Log in to the Container registry
124124
uses: docker/login-action@v3
@@ -129,7 +129,7 @@ jobs:
129129

130130
- name: Extract metadata (tags, labels) for Docker
131131
id: meta
132-
uses: docker/metadata-action@v5
132+
uses: docker/metadata-action@v6
133133
env:
134134
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
135135
with:
@@ -155,7 +155,7 @@ jobs:
155155
pnpm run build
156156
157157
- name: Build and push image to GHCR
158-
uses: docker/build-push-action@v6
158+
uses: docker/build-push-action@v7
159159
with:
160160
context: .
161161
push: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25.0-alpine AS builder
1+
FROM golang:1.26-alpine AS builder
22

33
RUN apk --no-cache add ca-certificates git
44

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/UnAfraid/wg-ui
22

3-
go 1.25.0
3+
go 1.26.0
44

55
require (
66
github.com/99designs/gqlgen v0.17.89

0 commit comments

Comments
 (0)