Skip to content

chore(master): release 0.3.28 #503

chore(master): release 0.3.28

chore(master): release 0.3.28 #503

Workflow file for this run

on:
push:
branches:
- 'master'
tags-ignore:
- '*'
pull_request_target:
name: CI
jobs:
prepare-cargo:
runs-on: ubuntu-latest
steps:
- name: cache cargo binaries
uses: actions/cache@v3
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-cargo
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@v3
with:
path: |
~/.cargo/bin/
key: ${{ runner.os }}-cargo
- uses: actions/checkout@v3
- name: use cached dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-target-${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: check formatting
uses: actions-rs/cargo@v1
with:
use-cross: true
command: fmt
args: --check
- name: check linting
uses: actions-rs/cargo@v1
with:
use-cross: true
command: clippy
args: --target ${{ matrix.target }}
- name: test
uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target ${{ matrix.target }}
ci-success:
needs: ci
runs-on: ubuntu-latest
steps:
- run: echo Success