Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7498cde

Browse files
authored
fix: push multi-arch images with correct platform (#16)
1 parentcbef761 commit7498cde

File tree

11 files changed

+86
-96
lines changed

11 files changed

+86
-96
lines changed

‎.github/workflows/enterprise-release.yaml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
# Necessary for Docker manifest
3131
DOCKER_CLI_EXPERIMENTAL:"enabled"
3232
steps:
33-
-uses:actions/checkout@v3
33+
-name:Checkout
34+
uses:actions/checkout@v4
3435
with:
3536
fetch-depth:0
3637

@@ -43,15 +44,16 @@ jobs:
4344
run:git fetch --tags --force
4445

4546
-name:Docker Login
46-
uses:docker/login-action@v2
47+
uses:docker/login-action@v3
4748
with:
4849
registry:ghcr.io
4950
username:${{ github.actor }}
5051
password:${{ secrets.GITHUB_TOKEN }}
5152

52-
-uses:actions/setup-go@v3
53+
-name:Install Go
54+
uses:actions/setup-go@v5
5355
with:
54-
go-version:"^1.21.9"
56+
go-version:"^1.24.5"
5557

5658
-name:Build binaries
5759
run:|

‎.github/workflows/enterprise.yaml‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ jobs:
3434
runs-on:ubuntu-latest
3535
timeout-minutes:20
3636
steps:
37-
-uses:actions/checkout@v3
38-
-uses:actions/setup-go@v3
37+
-name:Checkout
38+
uses:actions/checkout@v4
39+
40+
-name:Install Go
41+
uses:actions/setup-go@v5
3942
with:
40-
go-version:"^1.21.9"
43+
go-version:"^1.24.5"
4144

4245
-name:Echo Go Cache Paths
4346
id:go-cache-paths
@@ -46,13 +49,13 @@ jobs:
4649
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
4750
4851
-name:Go Build Cache
49-
uses:actions/cache@v3
52+
uses:actions/cache@v4
5053
with:
5154
path:${{ steps.go-cache-paths.outputs.go-build }}
5255
key:${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}
5356

5457
-name:Go Mod Cache
55-
uses:actions/cache@v3
58+
uses:actions/cache@v4
5659
with:
5760
path:${{ steps.go-cache-paths.outputs.go-mod }}
5861
key:${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}

‎.github/workflows/gen.yml‎renamed to ‎.github/workflows/gen.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ permissions:
2828
jobs:
2929
handler-elf:
3030
name:handler-elf
31-
runs-on:ubuntu-20.04
31+
runs-on:ubuntu-latest
3232
steps:
3333
-name:Checkout
34-
uses:actions/checkout@v2
34+
uses:actions/checkout@v4
3535

3636
-name:Run make
3737
run:make

‎.github/workflows/quality.yml‎renamed to ‎.github/workflows/quality.yaml‎

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ permissions:
2828
jobs:
2929
fmt-go:
3030
name:fmt/go
31-
runs-on:ubuntu-20.04
31+
runs-on:ubuntu-latest
3232
steps:
3333
-name:Checkout
34-
uses:actions/checkout@v2
34+
uses:actions/checkout@v4
3535

3636
-name:Install Go
37-
uses:actions/setup-go@v2
37+
uses:actions/setup-go@v5
3838
with:
39-
go-version:"^1.21.9"
39+
go-version:"^1.24.5"
4040

4141
-name:Run make fmt/go
4242
run:make fmt/go
@@ -46,15 +46,15 @@ jobs:
4646

4747
fmt-prettier:
4848
name:fmt/prettier
49-
runs-on:ubuntu-20.04
49+
runs-on:ubuntu-latest
5050
steps:
5151
-name:Checkout
52-
uses:actions/checkout@v2
52+
uses:actions/checkout@v4
5353

5454
-name:Install Node.js
55-
uses:actions/setup-node@v2
55+
uses:actions/setup-node@v4
5656
with:
57-
node-version:"18"
57+
node-version:"22"
5858

5959
-name:Install prettier
6060
run:npm install --global prettier
@@ -67,20 +67,19 @@ jobs:
6767

6868
lint-go:
6969
name:lint/go
70-
runs-on:ubuntu-20.04
70+
runs-on:ubuntu-latest
7171
steps:
7272
-name:Checkout
73-
uses:actions/checkout@v2
73+
uses:actions/checkout@v4
7474

7575
-name:Install Go
76-
uses:actions/setup-go@v2
76+
uses:actions/setup-go@v5
7777
with:
78-
go-version:"^1.21.9"
78+
go-version:"^1.24.5"
7979

8080
-name:Install golangci-lint
8181
run:|
82-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
83-
| sh -s -- -b $(go env GOPATH)/bin v1.57.2
82+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
8483
8584
# Linting needs to be done on each build variation of GOOS.
8685
-name:Run make lint/go/linux
@@ -92,13 +91,21 @@ jobs:
9291

9392
test-go:
9493
name:"test/go"
95-
runs-on:ubuntu-latest
94+
strategy:
95+
matrix:
96+
runs-on:
97+
-ubuntu-24.04
98+
-ubuntu-24.04-arm# arm64
99+
runs-on:${{ matrix.runs-on }}
96100
timeout-minutes:20
97101
steps:
98-
-uses:actions/checkout@v3
99-
-uses:actions/setup-go@v3
102+
-name:Checkout
103+
uses:actions/checkout@v4
104+
105+
-name:Install Go
106+
uses:actions/setup-go@v5
100107
with:
101-
go-version:"^1.21.9"
108+
go-version:"^1.24.5"
102109

103110
-name:Echo Go Cache Paths
104111
id:go-cache-paths
@@ -107,13 +114,13 @@ jobs:
107114
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
108115
109116
-name:Go Build Cache
110-
uses:actions/cache@v3
117+
uses:actions/cache@v4
111118
with:
112119
path:${{ steps.go-cache-paths.outputs.go-build }}
113120
key:${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}
114121

115122
-name:Go Mod Cache
116-
uses:actions/cache@v3
123+
uses:actions/cache@v4
117124
with:
118125
path:${{ steps.go-cache-paths.outputs.go-mod }}
119126
key:${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
@@ -123,10 +130,10 @@ jobs:
123130

124131
lint-c:
125132
name:lint/c
126-
runs-on:ubuntu-20.04
133+
runs-on:ubuntu-latest
127134
steps:
128135
-name:Checkout
129-
uses:actions/checkout@v2
136+
uses:actions/checkout@v4
130137

131138
-name:Run make lint/c
132139
run:make lint/c
@@ -141,10 +148,10 @@ jobs:
141148
142149
lint-shellcheck:
143150
name:lint/shellcheck
144-
runs-on:ubuntu-20.04
151+
runs-on:ubuntu-latest
145152
steps:
146153
-name:Checkout
147-
uses:actions/checkout@v2
154+
uses:actions/checkout@v4
148155

149156
-name:Install shellcheck
150157
run:sudo apt install -y shellcheck

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp