Skip to content

Commit 224ff6d

Browse files
Update GitHub Actions
1 parent d634eaa commit 224ff6d

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/fossa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
id-token: write # needed for the Vault authentication
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v7
1919

2020
- name: Read FOSSA token
2121
uses: rancher-eio/read-vault-secrets@main

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626
arch: [amd64, arm64]
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
29+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3030
- name: Set up QEMU
31-
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
31+
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4
3232
- name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
33+
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4
3434
- name: Build binary
3535
run: make build ARCH=${{ matrix.arch }}
3636
- name: Package artifacts
3737
run: make package ARCH=${{ matrix.arch }}
3838
- name: Upload artifacts
39-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
39+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
4040
with:
4141
name: "rancher-machine-${{ matrix.arch }}.tar.gz"
4242
path: "dist/artifacts/rancher-machine-${{ matrix.arch }}.tar.gz"
@@ -63,7 +63,7 @@ jobs:
6363
secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials username | PRIME_STG_REGISTRY_USERNAME ;
6464
secret/data/github/repo/${{ github.repository }}/rancher-prime-stg-registry/credentials password | PRIME_STG_REGISTRY_PASSWORD
6565
- name: Checkout code
66-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
66+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
6767
- name: Build and push image to DockerHub and Prime Staging Registry
6868
uses: rancher/ecm-distro-tools/actions/publish-image@ba6da4535406f3fd814a169a325b8100cd4dbf44 # master
6969
with:
@@ -111,7 +111,7 @@ jobs:
111111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112112
steps:
113113
- name: Download assets
114-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
114+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
115115
with:
116116
path: /tmp/assets
117117
pattern: rancher-machine-*.tar.gz

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
contents: read
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v7
1717
- name: Setup Go
18-
uses: actions/setup-go@v5
18+
uses: actions/setup-go@v6
1919
with:
2020
go-version-file: 'go.mod'
2121
- name: Run tests

0 commit comments

Comments
 (0)