Update actions/checkout action to v4 (#4572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <fg@frang.io>
This commit is contained in:
2
.github/workflows/actionlint.yml
vendored
2
.github/workflows/actionlint.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Add problem matchers
|
- name: Add problem matchers
|
||||||
run: |
|
run: |
|
||||||
# https://github.com/rhysd/actionlint/blob/3a2f2c7/docs/usage.md#problem-matchers
|
# https://github.com/rhysd/actionlint/blob/3a2f2c7/docs/usage.md#problem-matchers
|
||||||
|
|||||||
2
.github/workflows/changeset.yml
vendored
2
.github/workflows/changeset.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-changeset') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-changeset') }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Include history so Changesets finds merge-base
|
fetch-depth: 0 # Include history so Changesets finds merge-base
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
|
|||||||
14
.github/workflows/checks.yml
vendored
14
.github/workflows/checks.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
FORCE_COLOR: 1
|
FORCE_COLOR: 1
|
||||||
GAS: true
|
GAS: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- name: Run tests and generate gas report
|
- name: Run tests and generate gas report
|
||||||
@ -50,7 +50,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
FORCE_COLOR: 1
|
FORCE_COLOR: 1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Include history so patch conflicts are resolved automatically
|
fetch-depth: 0 # Include history so patch conflicts are resolved automatically
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
tests-foundry:
|
tests-foundry:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Install Foundry
|
- name: Install Foundry
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- run: npm run coverage
|
- run: npm run coverage
|
||||||
@ -94,7 +94,7 @@ jobs:
|
|||||||
slither:
|
slither:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- run: rm foundry.toml
|
- run: rm foundry.toml
|
||||||
@ -105,7 +105,7 @@ jobs:
|
|||||||
codespell:
|
codespell:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Run CodeSpell
|
- name: Run CodeSpell
|
||||||
uses: codespell-project/actions-codespell@v2.0
|
uses: codespell-project/actions-codespell@v2.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- run: bash scripts/git-user-config.sh
|
- run: bash scripts/git-user-config.sh
|
||||||
|
|||||||
4
.github/workflows/formal-verification.yml
vendored
4
.github/workflows/formal-verification.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
apply-diff:
|
apply-diff:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Apply patches
|
- name: Apply patches
|
||||||
run: make -C certora apply
|
run: make -C certora apply
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'formal-verification')
|
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'formal-verification')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
|
|||||||
14
.github/workflows/release-cycle.yml
vendored
14
.github/workflows/release-cycle.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
pull-requests: read
|
pull-requests: read
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- id: state
|
- id: state
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
if: needs.state.outputs.start == 'true'
|
if: needs.state.outputs.start == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- run: bash scripts/git-user-config.sh
|
- run: bash scripts/git-user-config.sh
|
||||||
@ -81,7 +81,7 @@ jobs:
|
|||||||
if: needs.state.outputs.promote == 'true'
|
if: needs.state.outputs.promote == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- run: bash scripts/git-user-config.sh
|
- run: bash scripts/git-user-config.sh
|
||||||
@ -102,7 +102,7 @@ jobs:
|
|||||||
if: needs.state.outputs.changesets == 'true'
|
if: needs.state.outputs.changesets == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # To get all tags
|
fetch-depth: 0 # To get all tags
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
@ -134,7 +134,7 @@ jobs:
|
|||||||
if: needs.state.outputs.publish == 'true'
|
if: needs.state.outputs.publish == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
uses: ./.github/actions/setup
|
uses: ./.github/actions/setup
|
||||||
- id: pack
|
- id: pack
|
||||||
@ -171,7 +171,7 @@ jobs:
|
|||||||
name: Tarball Integrity Check
|
name: Tarball Integrity Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Download tarball artifact
|
- name: Download tarball artifact
|
||||||
id: artifact
|
id: artifact
|
||||||
# Replace with actions/upload-artifact@v3 when
|
# Replace with actions/upload-artifact@v3 when
|
||||||
@ -195,7 +195,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MERGE_BRANCH: merge/${{ github.ref_name }}
|
MERGE_BRANCH: merge/${{ github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # All branches
|
fetch-depth: 0 # All branches
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
|
|||||||
2
.github/workflows/upgradeable.yml
vendored
2
.github/workflows/upgradeable.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
environment: push-upgradeable
|
environment: push-upgradeable
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: OpenZeppelin/openzeppelin-contracts-upgradeable
|
repository: OpenZeppelin/openzeppelin-contracts-upgradeable
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user