Skip to content

Build(deps): bump strum from 0.25.0 to 0.26.2 #960

Build(deps): bump strum from 0.25.0 to 0.26.2

Build(deps): bump strum from 0.25.0 to 0.26.2 #960

Workflow file for this run

name: CI
on:
push:
branches:
- main
- staging
- trying
pull_request:
branches:
- main
jobs:
check-license-headers:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check license headers
run: |
./hack/check-license-headers.sh
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- name: cargo clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --lib --bins --tests --all-targets -- -Dwarnings
yamllint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: yamllint
uses: ibiqlik/[email protected]
build-and-test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.continue-on-error }}
strategy:
fail-fast: false
matrix:
rust:
- stable
- beta
- # MSRV
1.67.0
target:
- ""
continue-on-error:
- false
include:
- rust: stable
target: "x86_64-unknown-linux-musl"
continue-on-error: false
- rust: nightly
target: ""
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Retrieve cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-ci-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
env:
TARGET: ${{ matrix.target }}
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: -- --nocapture
env:
TARGET: ${{ matrix.target }}