Skip to content

Commit

Permalink
Update GitHub Actions checkout package in CI
Browse files Browse the repository at this point in the history
Moves actions/checkout from v2 to v3 to resolve NodeJS 12 deprecation
warnings in CI workflows.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
  • Loading branch information
austinvazquez authored and danehlim committed Mar 1, 2023
1 parent ddf4702 commit adb7799
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gitsecrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Git Secrets Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: Git Secrets Scan Script
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Linux unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
path: src/github.com/aws/amazon-ecs-agent
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: get GO_VERSION
Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: run static checks
Expand All @@ -44,7 +44,7 @@ jobs:
name: Static Analysis Init
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: get GO_VERSION
Expand All @@ -64,7 +64,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: run static checks
Expand All @@ -80,7 +80,7 @@ jobs:
name: Cross platform build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: get GO_VERSION
Expand All @@ -100,7 +100,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: ${{ steps.get-go-version.outputs.GO_VERSION }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
path: src/github.com/aws/amazon-ecs-agent
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Windows unit tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/aws/amazon-ecs-agent
- name: get GO_VERSION
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: ${{ steps.get-go-version.outputs.GO_VERSION_WINDOWS }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
path: src/github.com/aws/amazon-ecs-agent
Expand Down

0 comments on commit adb7799

Please sign in to comment.