[Merged by Bors] - build(deps): bump uuid from 1.1.2 to 1.4.1 #451
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: CI | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- staging | |
- trying | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
inputs: | |
verbose: | |
description: "Set --verbose to get verbose build output" | |
required: false | |
default: "" | |
jobs: | |
rustfmt: | |
name: Rustfmt (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [stable] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install ${{ matrix.rust }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: check fmt | |
run: make check-fmt RUSTV=${{ matrix.rust }} | |
clippy: | |
name: Clippy (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [stable] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install ${{ matrix.rust }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: check clippy | |
run: make check-clippy RUSTV=${{ matrix.rust }} | |
test: | |
name: Smoke test (${{ matrix.os }}, ${{ matrix.node }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: [ubuntu-latest, windows-latest, macOS-latest] | |
os: [ubuntu-latest, macOS-latest] | |
rust: [stable] | |
node: [ '12', '14', '16', '18' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cancel Workflow Action | |
uses: styfle/cancel-workflow-action@0.4.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install ${{ matrix.rust }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
with: | |
key: ${{ matrix.os }} | |
- name: Install nj-cli build | |
# run: cargo install nj-cli | |
run: cargo install --path nj-cli | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: All Tests | |
run: make test-all | |
done: | |
name: Done | |
needs: [rustfmt, clippy, test] | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "Done!" |