Skip to content

Commit 27d6061

Browse files
authored
Update test.yaml (#30)
* Update test.yaml Updated versions of all actions in test.yaml - if it fails one day, I'll set it to a fixed version, for now there's no need to set a fixed version as it's only tests. * Update test.yaml updated version since deprecated support - See https://stackoverflow.com/questions/70870041/cannot-import-name-mutablemapping-from-collections * updated v1 specific version example
1 parent e8b481e commit 27d6061

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
jobs:
1010
dispatch_test_action:
1111
name: Dispatch Test Action
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@main
1515
- name: Workflow Dispatch Status
1616
uses: unfor19/hero-action@master
1717
with:
@@ -24,7 +24,7 @@ jobs:
2424
gh_token: ${{ secrets.GH_TOKEN }} # scope: repo + workflow
2525

2626
test_dirs:
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2828
strategy:
2929
matrix:
3030
include:
@@ -48,7 +48,7 @@ jobs:
4848
INSTALLROOTDIR: "/tmp/aws"
4949
name: Test ${{ matrix.TEST_NAME }}
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@main
5252
- name: Test On Runner
5353
env:
5454
AWS_CLI_VERSION: "${{ matrix.AWS_CLI_VERSION}}"
@@ -61,7 +61,7 @@ jobs:
6161
sudo --preserve-env ./entrypoint.sh
6262
6363
test_amd64:
64-
runs-on: ubuntu-20.04
64+
runs-on: ubuntu-22.04
6565
strategy:
6666
matrix:
6767
include:
@@ -72,11 +72,11 @@ jobs:
7272
- TEST_NAME: "Latest v1"
7373
AWS_CLI_VERSION: "1"
7474
- TEST_NAME: "Specific v1"
75-
AWS_CLI_VERSION: "1.16.312"
75+
AWS_CLI_VERSION: "1.32.19"
7676
- TEST_NAME: "No Input"
7777
name: Test amd64 ${{ matrix.TEST_NAME }} ${{ matrix.AWS_CLI_VERSION}}
7878
steps:
79-
- uses: actions/checkout@v3
79+
- uses: actions/checkout@main
8080
- name: Test On Runner
8181
env:
8282
AWS_CLI_VERSION: "${{ matrix.AWS_CLI_VERSION}}"
@@ -86,7 +86,7 @@ jobs:
8686
8787
test_arm64:
8888
# Supports only v2+
89-
runs-on: ubuntu-20.04
89+
runs-on: ubuntu-22.04
9090
strategy:
9191
matrix:
9292
include:
@@ -96,9 +96,9 @@ jobs:
9696
AWS_CLI_VERSION: "2.0.30"
9797
name: Test arm64 ${{ matrix.TEST_NAME }} ${{ matrix.AWS_CLI_VERSION}}
9898
steps:
99-
- uses: actions/checkout@v3
99+
- uses: actions/checkout@main
100100
- name: Set up QEMU
101-
uses: docker/setup-qemu-action@v1
101+
uses: docker/setup-qemu-action@master
102102
- name: Set up Docker Buildx
103103
id: buildx
104104
uses: docker/setup-buildx-action@master
@@ -118,7 +118,7 @@ jobs:
118118
restore-keys: |
119119
${{ runner.os }}-buildx-${{ matrix.AWS_CLI_VERSION }}-
120120
- name: Build Docker Image
121-
uses: docker/build-push-action@v2
121+
uses: docker/build-push-action@master
122122
with:
123123
context: .
124124
builder: ${{ steps.buildx.outputs.name }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- TEST_NAME: "Latest v1"
7474
AWS_CLI_VERSION: "1"
7575
- TEST_NAME: "Specific v1"
76-
AWS_CLI_VERSION: "1.18.1"
76+
AWS_CLI_VERSION: "1.32.15"
7777
- TEST_NAME: "No Input"
7878
name: Test ${{ matrix.TEST_NAME }} ${{ matrix.AWS_CLI_VERSION }}
7979
steps:

0 commit comments

Comments
 (0)