Skip to content

Commit d3587a7

Browse files
committed
fix: update GitHub Actions to latest versions
1 parent e1907f4 commit d3587a7

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.github/workflows/go-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Set up Go
1919
uses: actions/setup-go@v4
@@ -30,7 +30,7 @@ jobs:
3030
go build -v -o build/export_trakt ./cmd/export_trakt
3131
3232
- name: Upload build artifact
33-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@v4
3434
with:
3535
name: export-trakt-binary
3636
path: build/export_trakt
@@ -42,10 +42,10 @@ jobs:
4242
if: github.event_name != 'pull_request'
4343
steps:
4444
- name: Checkout code
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646

4747
- name: Download build artifact
48-
uses: actions/download-artifact@v3
48+
uses: actions/download-artifact@v4
4949
with:
5050
name: export-trakt-binary
5151
path: build
@@ -54,18 +54,18 @@ jobs:
5454
run: chmod +x build/export_trakt
5555

5656
- name: Set up Docker Buildx
57-
uses: docker/setup-buildx-action@v2
57+
uses: docker/setup-buildx-action@v3
5858

5959
- name: Login to GitHub Container Registry
60-
uses: docker/login-action@v2
60+
uses: docker/login-action@v3
6161
with:
6262
registry: ghcr.io
6363
username: ${{ github.repository_owner }}
6464
password: ${{ secrets.GITHUB_TOKEN }}
6565

6666
- name: Docker meta
6767
id: meta
68-
uses: docker/metadata-action@v4
68+
uses: docker/metadata-action@v5
6969
with:
7070
images: ghcr.io/${{ github.repository_owner }}/export_trakt_4_letterboxd
7171
tags: |
@@ -76,10 +76,10 @@ jobs:
7676
latest
7777
7878
- name: Build and push Docker image
79-
uses: docker/build-push-action@v4
79+
uses: docker/build-push-action@v6
8080
with:
8181
context: .
82-
file: ./Dockerfile.go
82+
file: ./Dockerfile
8383
push: true
8484
tags: ${{ steps.meta.outputs.tags }}
8585
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/go-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Set up Go
1818
uses: actions/setup-go@v4
@@ -30,7 +30,7 @@ jobs:
3030
run: go tool cover -html=coverage.out -o coverage.html
3131

3232
- name: Upload coverage report
33-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@v4
3434
with:
3535
name: coverage-report
3636
path: coverage.html

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

@@ -165,13 +165,13 @@ jobs:
165165
runs-on: ubuntu-latest
166166
steps:
167167
- name: Checkout code
168-
uses: actions/checkout@v3
168+
uses: actions/checkout@v4
169169

170170
- name: Set up Docker Buildx
171-
uses: docker/setup-buildx-action@v2
171+
uses: docker/setup-buildx-action@v3
172172

173173
- name: Login to GitHub Container Registry
174-
uses: docker/login-action@v2
174+
uses: docker/login-action@v3
175175
with:
176176
registry: ghcr.io
177177
username: ${{ github.repository_owner }}
@@ -185,10 +185,10 @@ jobs:
185185
echo "Extracted version: ${VERSION}"
186186
187187
- name: Build and push
188-
uses: docker/build-push-action@v4
188+
uses: docker/build-push-action@v6
189189
with:
190190
context: .
191-
file: ./Dockerfile.go
191+
file: ./Dockerfile
192192
push: true
193193
tags: |
194194
ghcr.io/${{ github.repository_owner }}/export_trakt_4_letterboxd:${{ steps.tag.outputs.version }}

0 commit comments

Comments
 (0)