Skip to content

Commit

Permalink
Upgrade actions/checkout, actions/setup-go
Browse files Browse the repository at this point in the history
Versions is use are about to be deprecated, upgrade to latest versions
of the above.

Signed-off-by: Kobi Samoray <[email protected]>
  • Loading branch information
ksamoray committed Nov 27, 2023
1 parent 7c40abb commit daa4813
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Check-out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build image
run: make
- name: Push images to registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build Operator image and push to registry
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/certification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
validate_image:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run container certification
env:
VERSION: ${{ github.event.inputs.version_tag }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Check-out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run unit tests
run: make test-unit
2 changes: 1 addition & 1 deletion .github/workflows/upload_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build assets
env:
TAG: ${{ github.ref }}
Expand Down

0 comments on commit daa4813

Please sign in to comment.