Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the github actions #654

Merged
merged 1 commit into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
swap-storage: false
docker-images: false
- name: Checkout forklift
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to quay.io with bot account
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-new-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: write
steps:
- name: Add comment to PR
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
swap-storage: false
docker-images: false
- name: Check out forklift repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout forkliftci
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kubev2v/forkliftci
ref: v8.0
Expand Down Expand Up @@ -86,12 +86,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checks-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: go/src/github.com/${{github.repository}}

- name: Cache Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${HOME}/go/pkg/mod
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
Expand All @@ -101,7 +101,7 @@ jobs:
${{ runner.OS }}

- name: Setup Golang
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
# NOTE: Keep the version in sync with Go toolchain in WORKSPACE.
go-version: '1.20.10'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-branch-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checks-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: go/src/github.com/${{github.repository}}

- name: Cache Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${HOME}/go/pkg/mod
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
Expand All @@ -27,10 +27,10 @@ jobs:
${{ runner.OS }}

- name: Setup Golang
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
# NOTE: Keep the version in sync with Go toolchain in WORKSPACE.
go-version: '1.19.3'
go-version: '1.20.10'

# Setup the run environment and run CI test suite
- name: Go build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-osp-extended-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get PR branch
uses: xt0rted/pull-request-comment-branch@v1
uses: xt0rted/pull-request-comment-branch@v2
id: comment-branch
if: github.event_name == 'issue_comment'
- name: Set latest commit status as pending
Expand All @@ -36,7 +36,7 @@ jobs:
status: pending

- name: Checkout forklift
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: prepare the secrets
uses: kubev2v/forkliftci/ci/prepare-ansible-secrets@v6.0
Expand Down Expand Up @@ -64,12 +64,12 @@ jobs:
timeout-minutes: 45
steps:
- name: Checkout forklift
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: forklift

- name: Checkout forkliftci
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kubev2v/forkliftci
ref: v6.0
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

- name: Get PR branch
if: always() && github.event_name == 'issue_comment'
uses: xt0rted/pull-request-comment-branch@v1
uses: xt0rted/pull-request-comment-branch@v2
id: comment-branch

- name: Set latest commit status as ${{ job.status }}
Expand All @@ -115,7 +115,7 @@ jobs:
status: ${{ job.status }}

- name: Add comment to PR
uses: actions/github-script@v6
uses: actions/github-script@v7
if: always() && github.event_name == 'issue_comment'
with:
script: |
Expand Down
Loading