chore(deps): update hustcer/setup-nu action to v3.8 #128
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Test Release | |
on: | |
push: | |
branches: [ main, next ] | |
pull_request: | |
branches: [ main, next ] | |
jobs: | |
build_test_common_os: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
toolchain: [stable] | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
override: true | |
- uses: extractions/setup-just@v1 | |
- uses: hustcer/setup-nu@v3.8 | |
with: | |
version: '0.85' | |
- name: Just version | |
run: just --version | |
- name: Build | |
run: just build_all | |
- name: Test | |
run: just test_all | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
needs: [build_test_common_os] | |
if: github.ref == 'refs/heads/main' | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
with: | |
ref: main | |
- name: install npm | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: install @semantic-release/exec | |
run: npm install @semantic-release/exec | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
with: | |
branch: main | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }} | |
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} |