Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5ea89bf
chore(deps): update actions/setup-node action to v4
renovate[bot] May 29, 2024
6009201
chore(deps): bump the cargo group across 1 directory with 4 updates
dependabot[bot] May 31, 2025
3e91b70
chore(deps): bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] May 31, 2025
96ea060
Potential fix for code scanning alert no. 3: Server-side request forgery
Dargon789 Jun 11, 2025
ca8e9d0
Potential fix for code scanning alert no. 19: Workflow does not conta…
Dargon789 Jun 11, 2025
e10458c
fix: package.json to reduce vulnerabilities (#27)
Dargon789 Jun 12, 2025
f6bbbbb
chore(deps): bump brace-expansion
dependabot[bot] Jun 11, 2025
bf69a39
Merge branch 'Schniz:master' into master
Dargon789 Aug 5, 2025
6183541
Create config.yml (#34)
Dargon789 Aug 5, 2025
39b08c4
feat: upgrade zod from 3.25.76 to 4.0.0 (#33)
Dargon789 Aug 5, 2025
a499be7
feat: upgrade @types/jest from 29.5.14 to 30.0.0 (#32)
Dargon789 Aug 5, 2025
542c0e0
fix: upgrade prettier from 3.5.1 to 3.5.3 (#25)
snyk-io[bot] Aug 5, 2025
6379844
feat: upgrade cross-env from 7.0.3 to 10.0.0 (#39)
snyk-io[bot] Aug 29, 2025
0a2db60
fix: upgrade prettier from 3.5.3 to 3.6.2 (#38)
snyk-io[bot] Aug 29, 2025
e4d7bd1
feat: upgrade @types/node from 18.19.123 to 24.1.0 (#36)
snyk-io[bot] Aug 29, 2025
39297ec
fix: package.json to reduce vulnerabilities (#35)
snyk-io[bot] Aug 29, 2025
7b0eb74
Create label.yml (#40)
Dargon789 Aug 29, 2025
d7a2fcc
Update release.yml (#41)
Dargon789 Aug 29, 2025
7fe1e19
chore(deps): bump tracing-subscriber from 0.3.18 to 0.3.20 in the car…
dependabot[bot] Sep 1, 2025
40b1ea2
[Snyk] Upgrade @changesets/cli from 2.29.6 to 2.29.7 (#46)
Dargon789 Nov 3, 2025
97fcfb7
fix: upgrade cmd-ts from 0.13.0 to 0.14.1 (#45)
Dargon789 Nov 3, 2025
a62738f
feat: upgrade p-retry from 6.2.1 to 7.0.0 (#44)
Dargon789 Nov 3, 2025
c31f45d
chore(deps): bump zip in the cargo group across 1 directory (#47)
dependabot[bot] Nov 3, 2025
00ad0f0
Merge branch 'Schniz:master' into renovate/actions-setup-node-4.x
Dargon789 Nov 4, 2025
2745ca1
Create weak-moose-love.md
Dargon789 Nov 4, 2025
aa52295
Update .changeset/weak-moose-love.md
Dargon789 Nov 4, 2025
09d479c
Update release-to-cargo.yml (#55)
Dargon789 Nov 4, 2025
a755842
Create angry-moose-hug.md (#56)
Dargon789 Nov 4, 2025
7082578
Create funny-falcons-breathe.md (#57)
Dargon789 Nov 4, 2025
884de09
Update release.yml (#59)
Dargon789 Nov 4, 2025
c3b5724
Create ci.yml (#60)
Dargon789 Nov 4, 2025
4a5be7c
Create ci-say-hello.yml (#61)
Dargon789 Nov 4, 2025
56945be
Create ci-foundry.yml (#62)
Dargon789 Nov 4, 2025
a2b24b7
Create config.yml (#64)
Dargon789 Nov 4, 2025
e3bb1ce
Update config.yml (#66)
Dargon789 Nov 4, 2025
0e983b3
Create SECURITY.md (#67)
Dargon789 Nov 4, 2025
f7f40e9
Merge branch 'master' into Dargon789-patch-2
Dargon789 Nov 4, 2025
b6e57f1
Dargon789 patch 2 (#65)
Dargon789 Nov 4, 2025
5e99e19
Delete .circleci/ci-say-hello.yml (#69)
Dargon789 Nov 4, 2025
c43b26d
Update ci.yml (#70)
Dargon789 Nov 4, 2025
c45db86
Update release-to-cargo.yml
Dargon789 Nov 10, 2025
e24b3e0
Update release-to-cargo.yml (#72)
Dargon789 Nov 10, 2025
17eaeb5
Update grumpy-dingos-turn.md (#73)
Dargon789 Nov 10, 2025
4a92843
Update release.yml (#74)
Dargon789 Nov 10, 2025
25284ef
Update rust.yml (#75)
Dargon789 Nov 10, 2025
bdc1626
Create docker.yml (#76)
Dargon789 Nov 10, 2025
2b3555a
Create CNAME
Dargon789 Nov 19, 2025
bccadbb
Update rust.yml (#78)
Dargon789 Nov 19, 2025
4ced635
Create olive-waves-punch.md (#79)
Dargon789 Nov 19, 2025
46e1d0e
chore(deps): bump js-yaml in the npm_and_yarn group across 1 director…
dependabot[bot] Nov 19, 2025
820ada9
Create lazy-snails-return.md (#81)
Dargon789 Nov 19, 2025
a8e11cf
Merge branch 'master' into Dargon789-patch-2
Dargon789 Nov 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/angry-moose-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

fix: Update release-to-cargo.yml (#55) to set base branch to 'master'
5 changes: 5 additions & 0 deletions .changeset/funny-falcons-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

fix: Update release-to-cargo.yml (#55) config to base: master
5 changes: 5 additions & 0 deletions .changeset/lazy-snails-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

fix: Corrected the Cargo release workflow configuration.
5 changes: 5 additions & 0 deletions .changeset/olive-waves-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

Dargon789 patch 2
5 changes: 5 additions & 0 deletions .changeset/weak-moose-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

chore: Update actions/setup-node action to v4.x
26 changes: 26 additions & 0 deletions .circleci/ci-foundry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference

version: 2.1
executors:
my-custom-executor:
docker:
- image: cimg/base:stable
auth:
# ensure you have first added these secrets
# visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
jobs:
web3-defi-game-project-:

executor: my-custom-executor
steps:
- checkout
- run: |
# echo Hello, World!

workflows:
my-custom-workflow:
jobs:
- web3-defi-game-project-
32 changes: 32 additions & 0 deletions .circleci/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2.1

jobs:
build-and-test:
docker:
- image: cimg/rust:1.88.0
steps:
- checkout
- restore_cache:
keys:
- v1-cargo-{{ checksum "Cargo.lock" }}
- v1-cargo-
- run:
name: "Check formatting"
command: cargo fmt -- --check
- run:
name: "Run tests"
command: cargo test
- save_cache:
key: v1-cargo-{{ checksum "Cargo.lock" }}
paths:
- "~/.cargo/bin"
- "~/.cargo/registry/index"
- "~/.cargo/registry/cache"
- "~/.cargo/git/db"
- "target"
- run:
name: "Check formatting"
command: cargo fmt -- --check
- run:
name: "Run tests"
command: cargo test
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference
version: 2.1
#
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
jobs:
say-hello:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job
docker:
# Specify the version you desire here
# See: https://circleci.com/developer/images/image/cimg/base
- image: cimg/base:current
#
# Add steps to the job
# See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps
steps:
# Checkout the code as the first step.
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"
#
# Orchestrate jobs using workflows
# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows
workflows:
say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- say-hello

100 changes: 100 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
schedule:
- cron: '21 12 * * *'
push:
branches: [ "master" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "master" ]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}


jobs:
build:
- name: Build the Docker image
run: docker build . --file path/to/Dockerfile --tag my-image-name:$(date +%s)

runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0
with:
cosign-release: 'v2.2.4'

# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/[email protected]
with:
context: ./
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
24 changes: 24 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust
permissions:
contents: read

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
# pnpm
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 20
cache: "pnpm"

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"

- uses: actions/cache@v4
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ jobs:
strip target/x86_64-apple-darwin/release/fnm
cargo build --release --target aarch64-apple-darwin
strip target/aarch64-apple-darwin/release/fnm

mkdir -p target/release

# create a universal binary
lipo -create \
target/x86_64-apple-darwin/release/fnm \
Expand Down Expand Up @@ -316,10 +314,8 @@ jobs:

env: |
RUST_LOG: fnm=debug

dockerRunArgs: |
--volume "${PWD}/target/${{matrix.rust_target}}/release:/artifacts"

# Set an output parameter `uname` for use in subsequent steps
run: |
echo "Hello from $(uname -a)"
Expand All @@ -328,7 +324,6 @@ jobs:
/artifacts/fnm install 12.0.0
echo "fnm exec --using=12 -- node --version"
/artifacts/fnm exec --using=12 -- node --version

- uses: actions/upload-artifact@v4
with:
name: fnm-${{ matrix.arch }}
Expand Down Expand Up @@ -374,7 +369,6 @@ jobs:
- name: Generate command markdown
run: |
pnpm run generate-command-docs --check --binary-path=$(which fnm)

# TODO: use bnz
# run_e2e_benchmarks:
# runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fnm-lime.vercel.app
Loading