Skip to content

Commit

Permalink
Update test.yaml (#30)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
unfor19 authored Jan 29, 2024
1 parent e8b481e commit 27d6061
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
jobs:
dispatch_test_action:
name: Dispatch Test Action
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Workflow Dispatch Status
uses: unfor19/hero-action@master
with:
Expand All @@ -24,7 +24,7 @@ jobs:
gh_token: ${{ secrets.GH_TOKEN }} # scope: repo + workflow

test_dirs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
include:
Expand All @@ -48,7 +48,7 @@ jobs:
INSTALLROOTDIR: "/tmp/aws"
name: Test ${{ matrix.TEST_NAME }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Test On Runner
env:
AWS_CLI_VERSION: "${{ matrix.AWS_CLI_VERSION}}"
Expand All @@ -61,7 +61,7 @@ jobs:
sudo --preserve-env ./entrypoint.sh
test_amd64:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
include:
Expand All @@ -72,11 +72,11 @@ jobs:
- TEST_NAME: "Latest v1"
AWS_CLI_VERSION: "1"
- TEST_NAME: "Specific v1"
AWS_CLI_VERSION: "1.16.312"
AWS_CLI_VERSION: "1.32.19"
- TEST_NAME: "No Input"
name: Test amd64 ${{ matrix.TEST_NAME }} ${{ matrix.AWS_CLI_VERSION}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Test On Runner
env:
AWS_CLI_VERSION: "${{ matrix.AWS_CLI_VERSION}}"
Expand All @@ -86,7 +86,7 @@ jobs:
test_arm64:
# Supports only v2+
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
include:
Expand All @@ -96,9 +96,9 @@ jobs:
AWS_CLI_VERSION: "2.0.30"
name: Test arm64 ${{ matrix.TEST_NAME }} ${{ matrix.AWS_CLI_VERSION}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@master
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
Expand All @@ -118,7 +118,7 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-${{ matrix.AWS_CLI_VERSION }}-
- name: Build Docker Image
uses: docker/build-push-action@v2
uses: docker/build-push-action@master
with:
context: .
builder: ${{ steps.buildx.outputs.name }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- TEST_NAME: "Latest v1"
AWS_CLI_VERSION: "1"
- TEST_NAME: "Specific v1"
AWS_CLI_VERSION: "1.18.1"
AWS_CLI_VERSION: "1.32.15"
- TEST_NAME: "No Input"
name: Test ${{ matrix.TEST_NAME }} ${{ matrix.AWS_CLI_VERSION }}
steps:
Expand Down

0 comments on commit 27d6061

Please sign in to comment.