Skip to content

Commit e9113d4

Browse files
Update GitHub Actions (#168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent a7e661e commit e9113d4

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/build-and-publish-docker.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
run: echo "unix_time=$(date +'%s')" >> $GITHUB_OUTPUT
2626

2727
- name: Checkout repository
28-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929

3030
- name: Log in to the Container registry
31-
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
31+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
3232
with:
3333
registry: ${{ env.REGISTRY }}
3434
username: ${{ github.actor }}
@@ -63,7 +63,7 @@ jobs:
6363
services/voip-repositories/secret/data/oci.element.io password | OCI_PASSWORD ;
6464
6565
- name: Login to oci.element.io Registry
66-
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
66+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
6767
if: github.event_name != 'pull_request'
6868
with:
6969
registry: oci-push.vpn.infra.element.io
@@ -72,21 +72,21 @@ jobs:
7272

7373
- name: Extract metadata (tags, labels) for Docker
7474
id: meta
75-
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
75+
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
7676
with:
7777
images: |
7878
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
7979
oci-push.vpn.infra.element.io/lk-jwt-service
8080
tags: ${{ inputs.docker_tags }}
8181

8282
- name: Set up Docker Buildx
83-
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
83+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
8484

8585
- name: Get go version
8686
run: echo "GO_VERSION=$(go mod edit -json | jq -r .Toolchain | sed "s,^go,,")" >> $GITHUB_ENV
8787

8888
- name: Build and push Docker image
89-
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
89+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
9090
with:
9191
context: .
9292
platforms: linux/amd64,linux/arm64

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
name: Linting
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414
- name: Install Go
15-
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
15+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
1616
with:
1717
go-version-file: go.mod
1818
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
19+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
os: ["linux"]
1414
arch: ["amd64", "arm64"]
1515
steps:
16-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
17-
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
1818
with:
1919
go-version-file: go.mod
2020
- run: mkdir build
@@ -24,7 +24,7 @@ jobs:
2424
GOOS: ${{ matrix.os }}
2525
GOARCH: ${{ matrix.arch }}
2626
- name: "Upload binary as artifact"
27-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
27+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
2828
with:
2929
name: build-${{ matrix.os }}-${{ matrix.arch }}
3030
path: build/lk-jwt-service_${{ matrix.os }}_${{ matrix.arch }}
@@ -37,7 +37,7 @@ jobs:
3737
- name: "Extract version"
3838
run: echo "IMAGE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
3939
- name: "Fetch all binaries"
40-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
40+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4141
with:
4242
path: build
4343
pattern: build-*

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
permissions:
1313
contents: read
1414
steps:
15-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
- name: Install Go
17-
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
17+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
1818
with:
1919
go-version-file: go.mod
2020
- name: Test

0 commit comments

Comments
 (0)