Skip to content

Bump clap from 4.3.21 to 4.3.23 #172

Bump clap from 4.3.21 to 4.3.23

Bump clap from 4.3.21 to 4.3.23 #172

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
# The NAME makes it easier to copy/paste snippets from other CI configs
NAME: tree-splicer
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt && git diff --exit-code
- name: Deps
run: |
rustup update
rustup component add clippy
- uses: Swatinem/rust-cache@578b235f6e5f613f7727f1c17bd3305b4d4d4e1f
- name: Lint
run: cargo clippy -- --deny warnings
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deps
run: |
sudo apt-get install -y musl-tools
rustup target add x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@578b235f6e5f613f7727f1c17bd3305b4d4d4e1f
- run: |
cargo build \
--bin ${NAME}-javascript \
--bin ${NAME}-rust \
--bin ${NAME}-typescript \
--locked \
--release \
--target=x86_64-unknown-linux-musl
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@578b235f6e5f613f7727f1c17bd3305b4d4d4e1f
- run: cargo test --locked --no-run
- run: cargo test