From d5dd739fb5eae81f31bf09fea5c290186a91964a Mon Sep 17 00:00:00 2001 From: Alistair Scott Date: Wed, 28 Feb 2024 07:53:14 +0000 Subject: [PATCH] chore: use setup@v3 --- CONTRIBUTING.md | 2 +- README.md | 4 ++-- action.yml | 2 +- setup/README.md | 2 +- testdata/tests/default.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9bc7855..d8060db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,7 +29,7 @@ jobs: ```` The examples are then modified in two ways: -1. Use local paths for any Infracost actions, e.g. replace `uses: infracost/actions/setup@v2` with `./setup`. +1. Use local paths for any Infracost actions, e.g. replace `uses: infracost/actions/setup@v3` with `./setup`. 2. Replace any `infracost/actions/comment` steps with steps to generate and test the content of the comment using golden files from the [./testdata](./testdata) directory. All the examples are then added to the `examples_test` GitHub Actions workflow as separate jobs. diff --git a/README.md b/README.md index 15f1328..428eda0 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ jobs: # ssh-keyscan github.com >> ~/.ssh/known_hosts - name: Setup Infracost - uses: infracost/actions/setup@v2 + uses: infracost/actions/setup@v3 # See https://github.com/infracost/actions/tree/master/setup for other inputs # If you can't use this action, use Docker image infracost/infracost:ci-0.10 with: @@ -118,7 +118,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Infracost - uses: infracost/actions/setup@v2 + uses: infracost/actions/setup@v3 with: api-key: ${{ secrets.INFRACOST_API_KEY }} diff --git a/action.yml b/action.yml index f0d6154..b4469cd 100644 --- a/action.yml +++ b/action.yml @@ -29,7 +29,7 @@ runs: # Install the Infracost CLI, see https://github.com/infracost/actions/tree/master/setup # for other inputs such as version, and pricing-api-endpoint (for self-hosted users). - name: Setup Infracost - uses: infracost/actions/setup@v2 + uses: infracost/actions/setup@v3 with: api-key: ${{ inputs.api_key }} diff --git a/setup/README.md b/setup/README.md index 0599ccd..aeaab4f 100644 --- a/setup/README.md +++ b/setup/README.md @@ -9,7 +9,7 @@ See the [top-level readme](https://github.com/infracost/actions) for examples of ```yml steps: - name: Setup Infracost - uses: infracost/actions/setup@v2 + uses: infracost/actions/setup@v3 with: api-key: ${{ secrets.INFRACOST_API_KEY }} ``` diff --git a/testdata/tests/default.yml b/testdata/tests/default.yml index 70b7a13..ee7e2e2 100644 --- a/testdata/tests/default.yml +++ b/testdata/tests/default.yml @@ -25,7 +25,7 @@ jobs: # ssh-keyscan github.com >> ~/.ssh/known_hosts - name: Setup Infracost - uses: infracost/actions/setup@v2 + uses: infracost/actions/setup@v3 # See https://github.com/infracost/actions/tree/master/setup for other inputs # If you can't use this action, use Docker image infracost/infracost:ci-0.10 with: