Skip to content

Commit

Permalink
Merge pull request #987 from lukso-network/ci/checkout-v4
Browse files Browse the repository at this point in the history
ci: upgrade checkout action to v4
  • Loading branch information
CJ42 authored Dec 13, 2024
2 parents da8f03c + 92dd0ba commit f16854e
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout base branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.sha }}
fetch-depth: 0
Expand All @@ -53,7 +53,7 @@ jobs:
mv gas_benchmark_result.json gas_benchmark_before.json
- name: Checkout current branch
uses: actions/checkout@v3
uses: actions/checkout@v4
# Do not run `git clean -ffdx && git reset --hard HEAD` to prevent removing `gas_benchmark_before.json`
with:
clean: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
- name: Use Node.js v20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js v20.x
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js v20
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/foundry-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
foundry-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mythx-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js '20.x'
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# The `if` statements ensure that a publication only occurs when
# a new release is created:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.releases_created }}

- name: Use Node.js v20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/solc_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
"0.8.27",
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js '20.x'
uses: actions/setup-node@v4
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# This workflow checks for common grammar and spelling mistake in markdown files.
name: Spellcheck
on: [pull_request]
name: Spellcheck
on: [pull_request]

jobs:
build:
name: Check Grammar and Spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0
jobs:
build:
name: Check Grammar and Spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install ⚙️
run: npm ci
- name: Install ⚙️
run: npm ci

- name: Check spelling errors in code snippets 🔍
uses: codespell-project/actions-codespell@v2
with:
path: packages/lsp-smart-contracts/docs
check_filenames: true
ignore_words_list: datas
- name: Check spelling errors in code snippets 🔍
uses: codespell-project/actions-codespell@v2
with:
path: packages/lsp-smart-contracts/docs
check_filenames: true
ignore_words_list: datas

- name: Output Spellcheck Results 📝
uses: actions/upload-artifact@v3
with:
name: Spellcheck Output
path: spellcheck-output.txt
- name: Output Spellcheck Results 📝
uses: actions/upload-artifact@v3
with:
name: Spellcheck Output
path: spellcheck-output.txt

0 comments on commit f16854e

Please sign in to comment.