Skip to content

Commit

Permalink
Merge remote-tracking branch 'foundry-toolchain/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
thepluck committed Feb 15, 2025
1 parent c087e4d commit 0ad4e7f
Show file tree
Hide file tree
Showing 13 changed files with 117,530 additions and 116,526 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
runs-on: ubuntu-latest

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

- name: Use Node.js 18.x
uses: actions/setup-node@v2.5.1
- name: Use Node.js 20.x
uses: actions/setup-node@v4.1.0
with:
node-version: 18.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand All @@ -40,7 +40,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.18.1
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -31,12 +31,12 @@ jobs:
### Inputs
| **Name** | **Required** | **Default** | **Description** | **Type** |
| -------------------- | ------------ | ------------------------------------- | ------------------------------------------------------------------------------------------------------------ | -------- |
| `cache` | No | `true` | Whether to cache RPC responses or not. | bool |
| `version` | No | `nightly` | Version to install, e.g. `nightly` or `1.0.0`. **Note:** Foundry only has nightly builds for the time being. | string |
| `cache-key` | No | `${{ github.job }}-${{ github.sha }}` | The cache key to use for caching. | string |
| `cache-restore-keys` | No | `[${{ github.job }}-]` | The cache keys to use for restoring the cache. | string[] |
| **Name** | **Required** | **Default** | **Description** | **Type** |
| -------------------- | ------------ | ------------------------------------- | --------------------------------------------------------------- | -------- |
| `cache` | No | `true` | Whether to cache RPC responses or not. | bool |
| `version` | No | `stable` | Version to install, e.g. `stable`, `rc`, `nightly` or `v0.3.0`. | string |
| `cache-key` | No | `${{ github.job }}-${{ github.sha }}` | The cache key to use for caching. | string |
| `cache-restore-keys` | No | `[${{ github.job }}-]` | The cache keys to use for restoring the cache. | string[] |

### RPC Caching

Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Releasing

- Make sure the dist folder is up to date (run `npm build` and make sure there is no diff)
- Make sure the dist folder is up to date (run `npm run build` and make sure there is no diff)
- Create a new tag (`vx.y.z`) and push it (or create it through GitHub)
- Publish a new GitHub release, ensuring "Publish to GitHub Marketplace" is checked
- **Important**: You should also move the `vx` tag to the new release. For example, if you are releasing a `v1.y.z` version, also move the `v1` tag to the same commit.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ inputs:
This key is used to identify the cache to restore. If not provided, a default key consisting of the job id is used.
required: false
version:
default: "nightly"
default: "stable"
description: |
Foundry version.
This version number has to match a released version of Foundry.
The default value is `nightly`, which will pull the latest nightly build.
The default value is `stable`, which will pull the latest stable build.
required: false

runs:
Expand Down
Loading

0 comments on commit 0ad4e7f

Please sign in to comment.