Skip to content

Commit

Permalink
Merge pull request #662 from containerd/dependabot/github_actions/act…
Browse files Browse the repository at this point in the history
…ions/checkout-3

Bump actions/checkout from 2 to 3
  • Loading branch information
ktock authored Mar 1, 2022
2 parents 87d61bb + d2d16b5 commit 286e23b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
sudo apt-get update && sudo apt-get --no-install-recommends install -y gnuplot
pip install numpy
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Prepare directories
run: mkdir "${BENCHMARK_RESULT_DIR}" "${BENCHMARK_LOG_DIR}"
- name: Get instance information
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run integration test
run: make integration

Expand All @@ -36,7 +36,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test for optimize subcommand of ctr-remote
run: make test-optimize

Expand All @@ -46,7 +46,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test for pulling image from private registry on Kubernetes
run: make test-kind

Expand All @@ -56,23 +56,23 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test for pulling image from private registry on Kubernetes
run: make test-criauth

test-cri-containerd:
runs-on: ubuntu-20.04
name: CRIValidationContainerd
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Varidate the runtime through CRI with containerd
run: make test-cri-containerd

test-cri-o:
runs-on: ubuntu-18.04
name: CRIValidationCRIO
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Varidate the runtime through CRI with CRI-O
env:
DOCKER_BUILD_ARGS: "--build-arg=RUNC_VERSION=v1.0.3"
Expand All @@ -94,6 +94,6 @@ jobs:
run: |
sudo wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.9.3/yq_linux_amd64
sudo chmod +x /usr/local/bin/yq
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test with k3s
run: make test-k3s
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
OUTPUT_DIR: ${{ github.workspace }}/out
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build Binary
env:
DOCKER_BUILDKIT: 1
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
env:
OUTPUT_DIR: ${{ github.workspace }}/builds
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download Builds
uses: actions/download-artifact@v2
with:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ jobs:
runs-on: ubuntu-20.04
name: Build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build all
run: ./script/util/make.sh build -j2

test:
runs-on: ubuntu-20.04
name: Test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Test all
run: ./script/util/make.sh test-all -j2

linter:
runs-on: ubuntu-20.04
name: Linter
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Run Linter
Expand All @@ -54,7 +54,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run integration test
env:
DOCKER_BUILD_ARGS: ${{ matrix.buildargs }}
Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test for optimize subcommand of ctr-remote
env:
DOCKER_BUILD_ARGS: ${{ matrix.buildargs }}
Expand All @@ -92,7 +92,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test for pulling image from private registry on Kubernetes
env:
DOCKER_BUILD_ARGS: ${{ matrix.buildargs }}
Expand All @@ -113,7 +113,7 @@ jobs:
steps:
- name: Install htpasswd for setting up private registry
run: sudo apt-get update -y && sudo apt-get --no-install-recommends install -y apache2-utils
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test for pulling image from private registry on Kubernetes with CRI keychain mode
env:
DOCKER_BUILD_ARGS: ${{ matrix.buildargs }}
Expand All @@ -137,7 +137,7 @@ jobs:
- metadata-store: "db"
buildargs: "--build-arg=CONTAINERD_VERSION=main"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Validate containerd through CRI
env:
DOCKER_BUILD_ARGS: ${{ matrix.buildargs }}
Expand All @@ -153,7 +153,7 @@ jobs:
matrix:
metadata-store: ["memory", "db"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Validate CRI-O through CRI
env:
DOCKER_BUILD_ARGS: "--build-arg=RUNC_VERSION=v1.0.3"
Expand All @@ -176,7 +176,7 @@ jobs:
run: |
sudo wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.9.3/yq_linux_amd64
sudo chmod +x /usr/local/bin/yq
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run test with k3s
run: make test-k3s

Expand All @@ -198,7 +198,7 @@ jobs:
gunzip argo-linux-amd64.gz
sudo mv argo-linux-amd64 /usr/local/bin/argo
sudo chmod +x /usr/local/bin/argo
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Prepare directories
run: mkdir "${RESULT_DIR}"
- name: Get instance information
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: '1.17.x'
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/containerd/stargz-snapshotter
fetch-depth: 25
Expand Down

0 comments on commit 286e23b

Please sign in to comment.