Skip to content

docs(license): update copyright year(s) (#11) #136

docs(license): update copyright year(s) (#11)

docs(license): update copyright year(s) (#11) #136

Workflow file for this run

name: CI
on: [push, pull_request]
env:
RUST_BACKTRACE: 1
jobs:
style:
if: startsWith(github.ref, 'refs/tags/v') != true
name: Check Style
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
profile: minimal
override: true
- name: cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Check with Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all --tests
build:
if: startsWith(github.ref, 'refs/tags/v') != true
name: ${{ matrix.name }}
needs: [style]
runs-on: ${{ matrix.os }}
strategy:
matrix:
name:
- linux / stable
- macOS / stable
include:
- name: linux / stable
os: ubuntu-latest
- name: macOS / stable
os: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
- name: Test
uses: actions-rs/cargo@v1
with:
command: test