Skip to content

Commit

Permalink
Merge pull request vmware#241 from ksamoray/actions-version
Browse files Browse the repository at this point in the history
Upgrade actions/checkout, actions/setup-go
  • Loading branch information
ksamoray authored Nov 28, 2023
2 parents 7c40abb + a713618 commit 9ecdae7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ 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
cache: false
- name: Check-out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build image
run: make
- name: Push images to registry
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,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
- uses: actions/checkout@v2
cache: false
- 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
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,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
cache: false
- 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 9ecdae7

Please sign in to comment.