Skip to content

Add CI workflow

Add CI workflow #1

Workflow file for this run

name: CI
on: [pull_request, push]
env:
CARGO_TERM_COLOR: always
jobs:
pango-test:
name: pango-test:

Check failure on line 10 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
build:
- stable
include:
- build: stable
os: ubuntu-latest
rust: stable
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- name: Basic build
uses: cargo build --verbose
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stablea
with:
components: rustfmt
- name: Check formatting
uses: cargo fmt --all -- --check