From 9ef69c03d13230aeff24d91cb54c9d24c4de7c8b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 21:38:01 +0000 Subject: [PATCH] Update actions/checkout action to v4 (#4572) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano --- .github/workflows/actionlint.yml | 2 +- .github/workflows/changeset.yml | 2 +- .github/workflows/checks.yml | 14 +++++++------- .github/workflows/docs.yml | 2 +- .github/workflows/formal-verification.yml | 4 ++-- .github/workflows/release-cycle.yml | 14 +++++++------- .github/workflows/upgradeable.yml | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 8193109cfc5..3e42c8a269f 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -9,7 +9,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Add problem matchers run: | # https://github.com/rhysd/actionlint/blob/3a2f2c7/docs/usage.md#problem-matchers diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index 5fe70cfcc09..efc5c5347b7 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-changeset') }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Include history so Changesets finds merge-base - name: Set up environment diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 199d9e36f1f..0ba977525d8 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -20,7 +20,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - run: npm run lint @@ -31,7 +31,7 @@ jobs: FORCE_COLOR: 1 GAS: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - name: Run tests and generate gas report @@ -50,7 +50,7 @@ jobs: env: FORCE_COLOR: 1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Include history so patch conflicts are resolved automatically - name: Set up environment @@ -70,7 +70,7 @@ jobs: tests-foundry: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: Install Foundry @@ -83,7 +83,7 @@ jobs: coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - run: npm run coverage @@ -94,7 +94,7 @@ jobs: slither: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - run: rm foundry.toml @@ -105,7 +105,7 @@ jobs: codespell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run CodeSpell uses: codespell-project/actions-codespell@v2.0 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4b54ea6ee18..04b8131cbcb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - run: bash scripts/git-user-config.sh diff --git a/.github/workflows/formal-verification.yml b/.github/workflows/formal-verification.yml index a86f255fbd1..6b4ca2cad7c 100644 --- a/.github/workflows/formal-verification.yml +++ b/.github/workflows/formal-verification.yml @@ -20,7 +20,7 @@ jobs: apply-diff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Apply patches run: make -C certora apply @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'formal-verification') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up environment diff --git a/.github/workflows/release-cycle.yml b/.github/workflows/release-cycle.yml index 9d35022dc2e..21d77abb907 100644 --- a/.github/workflows/release-cycle.yml +++ b/.github/workflows/release-cycle.yml @@ -27,7 +27,7 @@ jobs: pull-requests: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - id: state @@ -58,7 +58,7 @@ jobs: if: needs.state.outputs.start == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - run: bash scripts/git-user-config.sh @@ -81,7 +81,7 @@ jobs: if: needs.state.outputs.promote == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - run: bash scripts/git-user-config.sh @@ -102,7 +102,7 @@ jobs: if: needs.state.outputs.changesets == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # To get all tags - name: Set up environment @@ -134,7 +134,7 @@ jobs: if: needs.state.outputs.publish == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up environment uses: ./.github/actions/setup - id: pack @@ -171,7 +171,7 @@ jobs: name: Tarball Integrity Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download tarball artifact id: artifact # Replace with actions/upload-artifact@v3 when @@ -195,7 +195,7 @@ jobs: env: MERGE_BRANCH: merge/${{ github.ref_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # All branches - name: Set up environment diff --git a/.github/workflows/upgradeable.yml b/.github/workflows/upgradeable.yml index 649596abb32..ed63a6dbe9e 100644 --- a/.github/workflows/upgradeable.yml +++ b/.github/workflows/upgradeable.yml @@ -11,7 +11,7 @@ jobs: environment: push-upgradeable runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: OpenZeppelin/openzeppelin-contracts-upgradeable fetch-depth: 0