Skip to content

Commit 2956733

Browse files
authored
Chore/dependency updates (#24)
* chore(deps): bump Rust, Node, and GitHub Actions dependencies * Enhance CLI and data-plane configuration - Add instrumentation.js to the CLI package inclusion in Cargo.toml. - Update data-plane networking module to be conditionally compiled with the "enclave" feature. - Modify main.rs to initialize networking only when the "enclave" feature is enabled. - Update Dockerfile to copy the entire src directory for better organization. - Introduce wait logic in local.sh to ensure enclave readiness before running tests.
1 parent 430491e commit 2956733

20 files changed

Lines changed: 686 additions & 315 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
if: github.ref_type == 'tag'
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
- name: Verify CHANGELOG entry for tag
2222
run: ./scripts/verify-changelog.sh "${{ github.ref_name }}"
2323

2424
fmt:
2525
name: Rust Format
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v6
2929
- uses: dtolnay/[email protected]
3030
with:
3131
components: rustfmt
@@ -40,7 +40,7 @@ jobs:
4040
name: Rust Lint (Clippy)
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v6
4444
- uses: dtolnay/[email protected]
4545
with:
4646
components: clippy
@@ -55,7 +55,7 @@ jobs:
5555
name: Rust Test
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@v6
5959
- uses: dtolnay/[email protected]
6060
- uses: Swatinem/rust-cache@v2
6161
with:
@@ -68,7 +68,7 @@ jobs:
6868
name: nitrum-node
6969
runs-on: ubuntu-latest
7070
steps:
71-
- uses: actions/checkout@v4
71+
- uses: actions/checkout@v6
7272
- uses: actions/setup-node@v4
7373
with:
7474
node-version: "22"
@@ -86,7 +86,7 @@ jobs:
8686
name: Supply chain (cargo-deny)
8787
runs-on: ubuntu-latest
8888
steps:
89-
- uses: actions/checkout@v4
89+
- uses: actions/checkout@v6
9090
- uses: dtolnay/[email protected]
9191
- uses: Swatinem/rust-cache@v2
9292
with:

.github/workflows/e2e-cloud.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
name: AWS E2E Cloud
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626

2727
- name: Set up Docker Buildx
2828
uses: docker/setup-buildx-action@v3
@@ -31,14 +31,14 @@ jobs:
3131
run: echo "GHCR_PREFIX=ghcr.io/$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV"
3232

3333
- name: Log in to GitHub Container Registry
34-
uses: docker/login-action@v3
34+
uses: docker/login-action@v4
3535
with:
3636
registry: ghcr.io
3737
username: ${{ github.actor }}
3838
password: ${{ secrets.GITHUB_TOKEN }}
3939

4040
- name: Build and push control-plane
41-
uses: docker/build-push-action@v6
41+
uses: docker/build-push-action@v7
4242
with:
4343
context: .
4444
file: crates/control-plane/Dockerfile
@@ -57,7 +57,7 @@ jobs:
5757
${{ env.GHCR_PREFIX }}/control-plane:${{ github.sha }}
5858
5959
- name: Build and push data-plane
60-
uses: docker/build-push-action@v6
60+
uses: docker/build-push-action@v7
6161
with:
6262
context: .
6363
file: crates/data-plane/Dockerfile
@@ -77,7 +77,7 @@ jobs:
7777
${{ env.GHCR_PREFIX }}/data-plane:${{ github.sha }}
7878
7979
- name: Build and push nitro-cli
80-
uses: docker/build-push-action@v6
80+
uses: docker/build-push-action@v7
8181
with:
8282
context: .
8383
file: crates/cli/nitro-cli.dockerfile

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
needs: [ci]
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121

2222
- name: Set up Docker Buildx
2323
uses: docker/setup-buildx-action@v3
@@ -26,14 +26,14 @@ jobs:
2626
run: echo "GHCR_PREFIX=ghcr.io/$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV"
2727

2828
- name: Log in to GitHub Container Registry
29-
uses: docker/login-action@v3
29+
uses: docker/login-action@v4
3030
with:
3131
registry: ghcr.io
3232
username: ${{ github.actor }}
3333
password: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Build and push control-plane
36-
uses: docker/build-push-action@v6
36+
uses: docker/build-push-action@v7
3737
with:
3838
context: .
3939
file: crates/control-plane/Dockerfile
@@ -53,7 +53,7 @@ jobs:
5353
${{ env.GHCR_PREFIX }}/control-plane:latest
5454
5555
- name: Build and push data-plane
56-
uses: docker/build-push-action@v6
56+
uses: docker/build-push-action@v7
5757
with:
5858
context: .
5959
file: crates/data-plane/Dockerfile
@@ -74,7 +74,7 @@ jobs:
7474
${{ env.GHCR_PREFIX }}/data-plane:latest
7575
7676
- name: Build and push data-plane (local / pebble)
77-
uses: docker/build-push-action@v6
77+
uses: docker/build-push-action@v7
7878
with:
7979
context: .
8080
file: crates/data-plane/Dockerfile
@@ -95,7 +95,7 @@ jobs:
9595
${{ env.GHCR_PREFIX }}/data-plane:latest-dev
9696
9797
- name: Build and push nitro-cli
98-
uses: docker/build-push-action@v6
98+
uses: docker/build-push-action@v7
9999
with:
100100
context: .
101101
file: crates/cli/nitro-cli.dockerfile
@@ -136,7 +136,7 @@ jobs:
136136
runs-on: ${{ matrix.os }}
137137

138138
steps:
139-
- uses: actions/checkout@v4
139+
- uses: actions/checkout@v6
140140

141141
- uses: dtolnay/[email protected]
142142

@@ -162,13 +162,13 @@ jobs:
162162
needs: [cli-binaries, docker-images]
163163
runs-on: ubuntu-latest
164164
steps:
165-
- uses: actions/download-artifact@v4
165+
- uses: actions/download-artifact@v8
166166
with:
167167
pattern: nitrum-*
168168
path: dist
169169
merge-multiple: true
170170

171-
- uses: softprops/action-gh-release@v2
171+
- uses: softprops/action-gh-release@v3
172172
with:
173173
files: dist/*
174174
env:

0 commit comments

Comments
 (0)