Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Dec 25, 2024
1 parent 45ac3de commit 3fc8be6
Show file tree
Hide file tree
Showing 33 changed files with 1,887 additions and 1,681 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

Expand All @@ -38,7 +38,7 @@ jobs:
cargo bench --bench update_benchmarks --features bench -- --save-baseline main
- name: Checkout main branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
clean: false
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -52,7 +52,7 @@ jobs:
cargo bench --bench update_benchmarks --features bench -- --save-baseline pr
- name: Upload benchmark results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark-results-${{ matrix.os }}
path: ./target/criterion
Expand All @@ -65,7 +65,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -80,7 +80,7 @@ jobs:
tool: critcmp

- name: Linux | Download PR benchmark results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: benchmark-results-ubuntu-latest
path: ./target/criterion
Expand All @@ -95,7 +95,7 @@ jobs:
run: rm -rf ./target/criterion

- name: Windows | Download PR benchmark results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: benchmark-results-windows-latest
path: ./target/criterion
Expand All @@ -109,7 +109,7 @@ jobs:
- name: Find Comment
# Check if the event is not triggered by a fork
if: github.event.pull_request.head.repo.full_name == github.repository
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -119,7 +119,7 @@ jobs:
- name: Create or update comment
# Check if the event is not triggered by a fork
if: github.event.pull_request.head.repo.full_name == github.repository
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
edit-mode: replace
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.4
- uses: kentaro-m/auto-assign-action@v2.0.0
18 changes: 9 additions & 9 deletions .github/workflows/y-octo-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
settings:
# - target: x86_64-apple-darwin
# host: macos-latest
- target: x86_64-apple-darwin
host: macos-latest
- target: aarch64-apple-darwin
host: macos-latest
- target: x86_64-pc-windows-msvc
Expand All @@ -39,7 +39,7 @@ jobs:
env:
RUSTFLAGS: "-C debuginfo=1"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Setup Rust
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Build node binding
run: yarn build:node --target ${{ matrix.settings.target }}
- name: Upload y-octo.node
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: y-octo.${{ matrix.settings.target }}.node
path: ./y-octo-node/*.node
Expand All @@ -63,7 +63,7 @@ jobs:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Collect coverage data
run: cargo llvm-cov nextest --lcov --output-path lcov.info
- name: Upload coverage data to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
name: tests
files: lcov.info
Expand All @@ -97,11 +97,11 @@ jobs:
runs-on: ${{ matrix.settings.host }}
needs: build-node
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Download y-octo.${{ matrix.settings.target }}.node
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: y-octo.${{ matrix.settings.target }}.node
path: ./y-octo-node
Expand All @@ -114,7 +114,7 @@ jobs:
working-directory: y-octo-node
shell: bash
- name: Upload server test coverage results
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./y-octo-node/.coverage/lcov.info
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/y-octo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [main]

env:
nightly: nightly-2024-07-06
nightly: nightly-2024-12-25

# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
Expand All @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -38,9 +38,9 @@ jobs:
components: clippy, rustfmt

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: "yarn"

- name: Install Node.js dependencies
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
Expand All @@ -92,7 +92,7 @@ jobs:
- name: Collect coverage data
run: cargo llvm-cov nextest --all-targets --lcov --output-path lcov.info
- name: Upload coverage data to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
name: tests
files: lcov.info
Expand All @@ -106,7 +106,7 @@ jobs:
RUST_BACKTRACE: full
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
Expand All @@ -125,7 +125,7 @@ jobs:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
Expand All @@ -150,7 +150,7 @@ jobs:
- name: upload fuzz artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fuzz-artifact
path: ./y-octo-utils/fuzz/artifacts/**/*
Expand All @@ -164,7 +164,7 @@ jobs:
CARGO_TERM_COLOR: always
MIRIFLAGS: -Zmiri-backtrace=full -Zmiri-tree-borrows
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
Expand All @@ -187,7 +187,7 @@ jobs:
ASAN_OPTIONS: detect_leaks=1
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.2.cjs

This file was deleted.

Loading

0 comments on commit 3fc8be6

Please sign in to comment.