Skip to content

deploy: Create flakehub-publish-tagged.yml #2

deploy: Create flakehub-publish-tagged.yml

deploy: Create flakehub-publish-tagged.yml #2

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Rust ${{ matrix.rust-version }} on lovely ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
rust-version: [1.37.0, beta, nightly]
include:
- rust-version: nightly
continue-on-error: true
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust-version }}
- uses: actions/checkout@v1
- name: Check formatting
if: matrix.rust-version != 'nightly'
run: |
rustup component add rustfmt
cargo fmt --all -- --check
- name: Build
continue-on-error: ${{ matrix.continue-on-error }}
run: cargo build --all --verbose
- name: Install
continue-on-error: ${{ matrix.continue-on-error }}
run: cargo install --path .
- name: Run tests
continue-on-error: ${{ matrix.continue-on-error }}
run: cargo test --all --verbose