Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust toolchain #150

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: CI
env:
NODE_VERSION: 18.x
NPM_REGISTRY: 'https://registry.npmjs.org'
RUST_VERSION: 1.78

on:
push:
Expand All @@ -25,7 +24,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
- run: npm ci
- run: npm run build
- run: cd integration-tests && npm ci && npm run test
Expand All @@ -40,7 +38,6 @@ jobs:
uses: neon-actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
github-release: false

macos-arm64-build:
Expand All @@ -54,11 +51,10 @@ jobs:
contents: write
steps:
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
npm-publish: false
github-release: false

Expand All @@ -73,11 +69,10 @@ jobs:
contents: write
steps:
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
npm-publish: false
github-release: false

Expand All @@ -94,11 +89,10 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
npm-publish: false
github-release: false

Expand All @@ -117,11 +111,10 @@ jobs:
with:
cmake-version: '3.18.x'
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
use-cross: true
npm-publish: false
github-release: false
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: publish
env:
NODE_VERSION: 18.x
NPM_REGISTRY: 'https://registry.npmjs.org'
RUST_VERSION: 1.78

on:
push:
Expand All @@ -18,10 +17,9 @@ jobs:
contents: write
steps:
- name: Pack
uses: neon-actions/[email protected]
uses: neon-actions/pack@v0.2.1
with:
node-version: ${{ env.NODE_VERSION }}
rust-version: ${{ env.RUST_VERSION }}
github-release: true

macos-arm64-build:
Expand All @@ -34,7 +32,7 @@ jobs:
contents: write
steps:
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -52,7 +50,7 @@ jobs:
contents: write
steps:
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -72,7 +70,7 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -94,7 +92,7 @@ jobs:
with:
cmake-version: '3.18.x'
- name: Build
uses: neon-actions/[email protected]
uses: neon-actions/build@v0.9.1
with:
target: ${{ matrix.target }}
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -111,7 +109,7 @@ jobs:
contents: write
steps:
- name: Publish
uses: neon-actions/[email protected]
uses: neon-actions/publish@v0.9.1
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
Expand Down
Loading
Loading