Skip to content

fmt(/): run cargo format #38

fmt(/): run cargo format

fmt(/): run cargo format #38

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test-formatting:
name: Code style check
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '-skip')"
steps:
- uses: actions/checkout@v2
- name: Run fmt test
uses: actions-rs/[email protected]
with:
command: fmt
args: -- --check
test-stable:
name: Run tests on Stable
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '-stable')"
steps:
- uses: actions/checkout@v2
- name: Setup stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
- name: Run test
uses: actions-rs/[email protected]
with:
command: test
toolchain: stable
test-beta:
name: Run tests on Beta
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '-beta')"
steps:
- uses: actions/checkout@v2
- name: Setup beta toolchain
uses: actions-rs/[email protected]
with:
toolchain: beta
- name: Run test
uses: actions-rs/[email protected]
with:
command: test
toolchain: beta
test-nightly:
name: Run tests on Nightly
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '-skip')"
steps:
- uses: actions/checkout@v2
- name: Setup nightly toolchain
uses: actions-rs/[email protected]
with:
toolchain: nightly
- name: Run test
uses: actions-rs/[email protected]
with:
command: test
toolchain: nightly