From 27d6061dae5d39e89be4d2246824f15e111a7e06 Mon Sep 17 00:00:00 2001 From: Meir Gabay Date: Mon, 29 Jan 2024 16:50:33 +0200 Subject: [PATCH] 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 --- .github/workflows/test.yaml | 22 +++++++++++----------- README.md | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index cc4855a..136e8c0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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: @@ -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: @@ -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}}" @@ -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: @@ -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}}" @@ -86,7 +86,7 @@ jobs: test_arm64: # Supports only v2+ - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: include: @@ -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 @@ -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 }} diff --git a/README.md b/README.md index 9028954..6a7cf5b 100644 --- a/README.md +++ b/README.md @@ -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: