Skip to content

Commit

Permalink
Merge pull request #1187 from akhilerm/update-node12-actions
Browse files Browse the repository at this point in the history
update actions using node12 to latest version using node16
  • Loading branch information
k8s-ci-robot committed Jun 9, 2023
2 parents e499a78 + c3a28fe commit b98b116
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 21 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ updates:
labels:
- "release-note-none"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
labels:
- "release-note-none"
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:

steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false

- name: Set env
shell: bash
Expand All @@ -29,7 +30,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Cache go modules and build cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
Expand All @@ -39,7 +40,7 @@ jobs:
restore-keys: ${{ runner.os }}-go-

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/kubernetes-sigs/cri-tools

Expand All @@ -62,9 +63,10 @@ jobs:
# Ref: https://github.com/uraimo/run-on-arch-action
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false

- name: Set env
shell: bash
Expand All @@ -73,7 +75,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Cache go modules and build cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
Expand All @@ -83,7 +85,7 @@ jobs:
restore-keys: ${{ runner.os }}-go-

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/kubernetes-sigs/cri-tools
fetch-depth: 0
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/containerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false

- name: Set env
shell: bash
Expand All @@ -58,7 +59,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Cache go modules and build cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
Expand All @@ -68,21 +69,21 @@ jobs:
restore-keys: ${{ runner.os }}-go-

- name: Checkout containerd/containerd ${{ format(matrix.version, '/') }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{ github.workspace }}/src/github.com/containerd/containerd
repository: containerd/containerd
ref: ${{ format(matrix.version, '/') }}

- name: Checkout Microsoft/hcsshim
uses: actions/checkout@v2
uses: actions/checkout@v3
if: startsWith(matrix.os, 'windows')
with:
repository: Microsoft/hcsshim
path: src/github.com/Microsoft/hcsshim

- name: Checkout cri-tools for this commit
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{github.workspace}}/src/github.com/kubernetes-sigs/cri-tools

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/crio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Install go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false

- name: Setup environment
shell: bash
Expand All @@ -29,7 +30,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Cache go modules and build cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
sudo systemctl start crio
- name: Checkout cri-tools for this commit
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{github.workspace}}/src/github.com/kubernetes-sigs/cri-tools

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:

steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false

- name: Set env
shell: bash
Expand All @@ -29,7 +30,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Cache go modules and build cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
Expand All @@ -39,12 +40,12 @@ jobs:
restore-keys: ${{ runner.os }}-go-

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/kubernetes-sigs/cri-tools

- name: Cache go modules and build cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ jobs:
name: release
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false

- name: Set env
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: go-release-${{ hashFiles('**/go.sum') }}
restore-keys: go-release-
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
path: src/github.com/kubernetes-sigs/cri-tools
Expand Down

0 comments on commit b98b116

Please sign in to comment.