Skip to content

Merge pull request #224 from feed-rs/release-1.5.2 #207

Merge pull request #224 from feed-rs/release-1.5.2

Merge pull request #224 from feed-rs/release-1.5.2 #207

Workflow file for this run

on: push
name: Continuous integration
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Test stable + version used in freedesktop sdk - tracks https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/master/elements/components/rust.bst#L125
rust: [stable, 1.77.2]
experimental: [false]
# also test on beta + nightly for advance warning of breakage
include:
- rust: beta
experimental: true
- rust: nightly
experimental: true
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: build
- uses: actions-rs/cargo@v1
with:
command: test
quality:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings