@@ -18,12 +18,12 @@ jobs:
1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v6
2222 with :
2323 fetch-depth : 0
2424
2525 - name : Set up Go
26- uses : actions/setup-go@v5
26+ uses : actions/setup-go@v6
2727 with :
2828 go-version : " 1.24"
2929
@@ -62,12 +62,12 @@ jobs:
6262 arch : [amd64, arm64]
6363 steps :
6464 - name : Checkout
65- uses : actions/checkout@v4
65+ uses : actions/checkout@v6
6666 with :
6767 fetch-depth : 0
6868
6969 - name : Set up Go
70- uses : actions/setup-go@v5
70+ uses : actions/setup-go@v6
7171 with :
7272 go-version : " 1.24"
7373
@@ -83,12 +83,12 @@ jobs:
8383
8484 - name : Build binary
8585 run : |
86- GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build \
86+ CGO_ENABLED=0 GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build \
8787 -ldflags "-X github.com/pgplex/pgschema/cmd.GitCommit=${{ steps.build_info.outputs.GIT_COMMIT }} -X 'github.com/pgplex/pgschema/cmd.BuildDate=${{ steps.build_info.outputs.BUILD_DATE }}'" \
8888 -o pgschema-${{ steps.version.outputs.version }}-${{ matrix.os }}-${{ matrix.arch }} .
8989
9090 - name : Upload artifacts
91- uses : actions/upload-artifact@v4
91+ uses : actions/upload-artifact@v7
9292 with :
9393 name : pgschema-${{ steps.version.outputs.version }}-${{ matrix.os }}-${{ matrix.arch }}
9494 path : pgschema-${{ steps.version.outputs.version }}-${{ matrix.os }}-${{ matrix.arch }}
@@ -101,14 +101,14 @@ jobs:
101101 arch : [amd64, arm64]
102102 steps :
103103 - name : Checkout
104- uses : actions/checkout@v4
104+ uses : actions/checkout@v6
105105
106106 - name : Read version
107107 id : version
108108 run : echo "version=$(cat internal/version/VERSION)" >> $GITHUB_OUTPUT
109109
110110 - name : Download Linux binary
111- uses : actions/download-artifact@v4
111+ uses : actions/download-artifact@v8
112112 with :
113113 name : pgschema-${{ steps.version.outputs.version }}-linux-${{ matrix.arch }}
114114 path : ./dist
@@ -165,13 +165,13 @@ jobs:
165165 run : nfpm package --packager rpm --target ./dist/
166166
167167 - name : Upload DEB package
168- uses : actions/upload-artifact@v4
168+ uses : actions/upload-artifact@v7
169169 with :
170170 name : pgschema-deb-${{ matrix.arch }}
171171 path : ./dist/*.deb
172172
173173 - name : Upload RPM package
174- uses : actions/upload-artifact@v4
174+ uses : actions/upload-artifact@v7
175175 with :
176176 name : pgschema-rpm-${{ matrix.arch }}
177177 path : ./dist/*.rpm
@@ -181,14 +181,14 @@ jobs:
181181 runs-on : ubuntu-latest
182182 steps :
183183 - name : Checkout
184- uses : actions/checkout@v4
184+ uses : actions/checkout@v6
185185
186186 - name : Read version
187187 id : version
188188 run : echo "version=$(cat internal/version/VERSION)" >> $GITHUB_OUTPUT
189189
190190 - name : Download artifacts
191- uses : actions/download-artifact@v4
191+ uses : actions/download-artifact@v8
192192 with :
193193 path : binaries
194194
@@ -220,18 +220,18 @@ jobs:
220220 IMAGE_NAME : pgplex/pgschema
221221 steps :
222222 - name : Checkout repository
223- uses : actions/checkout@v4
223+ uses : actions/checkout@v6
224224 with :
225225 fetch-depth : 0
226226
227227 - name : Set up QEMU
228- uses : docker/setup-qemu-action@v3
228+ uses : docker/setup-qemu-action@v4
229229
230230 - name : Set up Docker Buildx
231- uses : docker/setup-buildx-action@v3
231+ uses : docker/setup-buildx-action@v4
232232
233233 - name : Log in to Docker Hub
234- uses : docker/login-action@v3
234+ uses : docker/login-action@v4
235235 with :
236236 registry : ${{ env.REGISTRY }}
237237 username : ${{ secrets.DOCKERHUB_USERNAME }}
@@ -256,7 +256,7 @@ jobs:
256256 echo "BUILD_DATE=$(date -u +"%Y-%m-%d %H:%M:%S")" >> $GITHUB_OUTPUT
257257
258258 - name : Build and push Docker image
259- uses : docker/build-push-action@v5
259+ uses : docker/build-push-action@v7
260260 with :
261261 context : .
262262 platforms : linux/amd64,linux/arm64
@@ -274,14 +274,14 @@ jobs:
274274 runs-on : ubuntu-latest
275275 steps :
276276 - name : Checkout
277- uses : actions/checkout@v4
277+ uses : actions/checkout@v6
278278
279279 - name : Read version
280280 id : version
281281 run : echo "version=$(cat internal/version/VERSION)" >> $GITHUB_OUTPUT
282282
283283 - name : Update Homebrew formula
284- uses : mislav/bump-homebrew-formula-action@v3
284+ uses : mislav/bump-homebrew-formula-action@v4
285285 with :
286286 formula-name : pgschema
287287 formula-path : Formula/pgschema.rb
0 commit comments