Skip to content

Bump tracing from 0.1.39 to 0.1.40 #92

Bump tracing from 0.1.39 to 0.1.40

Bump tracing from 0.1.39 to 0.1.40 #92

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'ci'
pull_request:
merge_group:
types: [checks_requested]
permissions:
contents: read
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo install --locked cargo-cranky
- run: cargo cranky --all-targets --all-features
build:
name: build (${{ matrix.target }})
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
apt: musl-tools
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
suffix: '.exe'
- os: windows-latest
target: aarch64-pc-windows-msvc
suffix: '.exe'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: rm rust-toolchain.toml
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
- name: Install apt packages
if: ${{ matrix.apt }}
run: sudo apt update && sudo apt install -y ${{ matrix.apt }}
- name: Build
run: cargo build --release --target ${{ matrix.target }}
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
path: target/${{ matrix.target }}/release/bbl2csv${{ matrix.suffix }}
if-no-files-found: error
build-cross:
name: build (${{ matrix.target }})
strategy:
fail-fast: false
matrix:
target:
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rm rust-toolchain.toml
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- uses: taiki-e/install-action@cross
- name: Build
run: cross build --release --target ${{ matrix.target }}
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
path: target/${{ matrix.target }}/release/bbl2csv*
if-no-files-found: error
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master