Skip to content

Setup CI

Setup CI #6

Workflow file for this run

name: Main
on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust: [stable, beta, nightly]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@master
- name: Install rust
run: |
rustup update ${{ matrix.rust }} --no-self-update
rustup default ${{ matrix.rust }}
- run: cargo test --verbose
fmt:
steps:

Check failure on line 23 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 23, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@master
- name: Install rust
run: |
rustup update stable --no-self-update
rustup default stable
- run: cargo fmt -- --check