Skip to content

Commit 1e705e4

Browse files
authored
chore: update dependencies (#45)
1 parent 45ac3de commit 1e705e4

33 files changed

+1887
-1681
lines changed

.github/actions/setup-node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
using: "composite"
1919
steps:
2020
- name: Setup Node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version-file: ".nvmrc"
2424
cache: "yarn"

.github/workflows/benchmark.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ${{ matrix.os }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
ref: main
2626

@@ -38,7 +38,7 @@ jobs:
3838
cargo bench --bench update_benchmarks --features bench -- --save-baseline main
3939
4040
- name: Checkout main branch
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242
with:
4343
clean: false
4444
ref: ${{ github.event.pull_request.head.sha }}
@@ -52,7 +52,7 @@ jobs:
5252
cargo bench --bench update_benchmarks --features bench -- --save-baseline pr
5353
5454
- name: Upload benchmark results
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: benchmark-results-${{ matrix.os }}
5858
path: ./target/criterion
@@ -65,7 +65,7 @@ jobs:
6565

6666
steps:
6767
- name: Checkout
68-
uses: actions/checkout@v3
68+
uses: actions/checkout@v4
6969
with:
7070
fetch-depth: 0
7171

@@ -80,7 +80,7 @@ jobs:
8080
tool: critcmp
8181

8282
- name: Linux | Download PR benchmark results
83-
uses: actions/download-artifact@v3
83+
uses: actions/download-artifact@v4
8484
with:
8585
name: benchmark-results-ubuntu-latest
8686
path: ./target/criterion
@@ -95,7 +95,7 @@ jobs:
9595
run: rm -rf ./target/criterion
9696

9797
- name: Windows | Download PR benchmark results
98-
uses: actions/download-artifact@v3
98+
uses: actions/download-artifact@v4
9999
with:
100100
name: benchmark-results-windows-latest
101101
path: ./target/criterion
@@ -109,7 +109,7 @@ jobs:
109109
- name: Find Comment
110110
# Check if the event is not triggered by a fork
111111
if: github.event.pull_request.head.repo.full_name == github.repository
112-
uses: peter-evans/find-comment@v2
112+
uses: peter-evans/find-comment@v3
113113
id: fc
114114
with:
115115
issue-number: ${{ github.event.pull_request.number }}
@@ -119,7 +119,7 @@ jobs:
119119
- name: Create or update comment
120120
# Check if the event is not triggered by a fork
121121
if: github.event.pull_request.head.repo.full_name == github.repository
122-
uses: peter-evans/create-or-update-comment@v2
122+
uses: peter-evans/create-or-update-comment@v4
123123
with:
124124
issue-number: ${{ github.event.pull_request.number }}
125125
edit-mode: replace

.github/workflows/pr-auto-assign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
add-reviews:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: kentaro-m/auto-assign-action@v1.2.4
12+
- uses: kentaro-m/auto-assign-action@v2.0.0

.github/workflows/y-octo-node.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
settings:
22-
# - target: x86_64-apple-darwin
23-
# host: macos-latest
22+
- target: x86_64-apple-darwin
23+
host: macos-latest
2424
- target: aarch64-apple-darwin
2525
host: macos-latest
2626
- target: x86_64-pc-windows-msvc
@@ -39,7 +39,7 @@ jobs:
3939
env:
4040
RUSTFLAGS: "-C debuginfo=1"
4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343
- name: Setup Node.js
4444
uses: ./.github/actions/setup-node
4545
- name: Setup Rust
@@ -49,7 +49,7 @@ jobs:
4949
- name: Build node binding
5050
run: yarn build:node --target ${{ matrix.settings.target }}
5151
- name: Upload y-octo.node
52-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
5353
with:
5454
name: y-octo.${{ matrix.settings.target }}.node
5555
path: ./y-octo-node/*.node
@@ -63,7 +63,7 @@ jobs:
6363
RUSTFLAGS: -D warnings
6464
CARGO_TERM_COLOR: always
6565
steps:
66-
- uses: actions/checkout@v3
66+
- uses: actions/checkout@v4
6767

6868
- name: Setup Rust
6969
uses: ./.github/actions/setup-rust
@@ -77,7 +77,7 @@ jobs:
7777
- name: Collect coverage data
7878
run: cargo llvm-cov nextest --lcov --output-path lcov.info
7979
- name: Upload coverage data to codecov
80-
uses: codecov/codecov-action@v3
80+
uses: codecov/codecov-action@v5
8181
with:
8282
name: tests
8383
files: lcov.info
@@ -97,11 +97,11 @@ jobs:
9797
runs-on: ${{ matrix.settings.host }}
9898
needs: build-node
9999
steps:
100-
- uses: actions/checkout@v3
100+
- uses: actions/checkout@v4
101101
- name: Setup Node.js
102102
uses: ./.github/actions/setup-node
103103
- name: Download y-octo.${{ matrix.settings.target }}.node
104-
uses: actions/download-artifact@v3
104+
uses: actions/download-artifact@v4
105105
with:
106106
name: y-octo.${{ matrix.settings.target }}.node
107107
path: ./y-octo-node
@@ -114,7 +114,7 @@ jobs:
114114
working-directory: y-octo-node
115115
shell: bash
116116
- name: Upload server test coverage results
117-
uses: codecov/codecov-action@v3
117+
uses: codecov/codecov-action@v5
118118
with:
119119
token: ${{ secrets.CODECOV_TOKEN }}
120120
files: ./y-octo-node/.coverage/lcov.info

.github/workflows/y-octo.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [main]
99

1010
env:
11-
nightly: nightly-2024-07-06
11+
nightly: nightly-2024-12-25
1212

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

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0
3333

@@ -38,9 +38,9 @@ jobs:
3838
components: clippy, rustfmt
3939

4040
- name: Install Node.js
41-
uses: actions/setup-node@v3
41+
uses: actions/setup-node@v4
4242
with:
43-
node-version: 18
43+
node-version: 22
4444
cache: "yarn"
4545

4646
- name: Install Node.js dependencies
@@ -78,7 +78,7 @@ jobs:
7878
RUSTFLAGS: -D warnings
7979
CARGO_TERM_COLOR: always
8080
steps:
81-
- uses: actions/checkout@v3
81+
- uses: actions/checkout@v4
8282

8383
- name: Setup Rust
8484
uses: ./.github/actions/setup-rust
@@ -92,7 +92,7 @@ jobs:
9292
- name: Collect coverage data
9393
run: cargo llvm-cov nextest --all-targets --lcov --output-path lcov.info
9494
- name: Upload coverage data to codecov
95-
uses: codecov/codecov-action@v3
95+
uses: codecov/codecov-action@v5
9696
with:
9797
name: tests
9898
files: lcov.info
@@ -106,7 +106,7 @@ jobs:
106106
RUST_BACKTRACE: full
107107
CARGO_TERM_COLOR: always
108108
steps:
109-
- uses: actions/checkout@v3
109+
- uses: actions/checkout@v4
110110

111111
- name: Setup Rust
112112
uses: ./.github/actions/setup-rust
@@ -125,7 +125,7 @@ jobs:
125125
RUSTFLAGS: -D warnings
126126
CARGO_TERM_COLOR: always
127127
steps:
128-
- uses: actions/checkout@v3
128+
- uses: actions/checkout@v4
129129

130130
- name: Setup Rust
131131
uses: ./.github/actions/setup-rust
@@ -150,7 +150,7 @@ jobs:
150150
151151
- name: upload fuzz artifacts
152152
if: ${{ failure() }}
153-
uses: actions/upload-artifact@v3
153+
uses: actions/upload-artifact@v4
154154
with:
155155
name: fuzz-artifact
156156
path: ./y-octo-utils/fuzz/artifacts/**/*
@@ -164,7 +164,7 @@ jobs:
164164
CARGO_TERM_COLOR: always
165165
MIRIFLAGS: -Zmiri-backtrace=full -Zmiri-tree-borrows
166166
steps:
167-
- uses: actions/checkout@v3
167+
- uses: actions/checkout@v4
168168

169169
- name: Setup Rust
170170
uses: ./.github/actions/setup-rust
@@ -187,7 +187,7 @@ jobs:
187187
ASAN_OPTIONS: detect_leaks=1
188188
CARGO_TERM_COLOR: always
189189
steps:
190-
- uses: actions/checkout@v3
190+
- uses: actions/checkout@v4
191191

192192
- name: Setup Rust
193193
uses: ./.github/actions/setup-rust

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
yarn lint-staged

.yarn/releases/yarn-3.6.2.cjs

Lines changed: 0 additions & 874 deletions
This file was deleted.

0 commit comments

Comments
 (0)