Skip to content

chore(master): release 0.4.2 #952

chore(master): release 0.4.2

chore(master): release 0.4.2 #952

Workflow file for this run

on:
push:
branches:
- 'master'
tags-ignore:
- '*'
pull_request_target:
name: CI
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: cache cargo binaries
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
key: ${{ runner.os }}-cargo
- name: install cross binary
run: |
cargo install cross --git https://github.com/cross-rs/cross || true
ci:
needs:
- prepare
runs-on: ubuntu-latest
strategy:
matrix:
include:
- target: x86_64-unknown-linux-musl
- target: aarch64-unknown-linux-musl
- target: arm-unknown-linux-musleabihf
- target: armv7-unknown-linux-musleabihf
steps:
- name: use cached cargo binaries
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
key: ${{ runner.os }}-cargo
- uses: actions/checkout@v4
- name: use cached dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-target-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: check formatting
run: cargo fmt --check
- name: check linting
run: cross clippy --target ${{ matrix.target }}
- name: test
run: cross test --target ${{ matrix.target }}
ci-success:
needs: ci
runs-on: ubuntu-latest
steps:
- run: echo Success