fix: TIL yaml doesnt allow tabs

This commit is contained in:
əlemi 2023-08-16 23:39:50 +02:00
parent 0356521d3d
commit b415ba76e6

View file

@ -1,26 +1,26 @@
name: Cargo Build & Test name: Cargo Build & Test
on: on:
push: push:
branches: branches:
- dev - dev
- main - main
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
build_and_test: build_and_test:
name: Rust project - latest name: Rust project - latest
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
toolchain: toolchain:
- stable - stable
- beta - beta
- nightly - nightly
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose - run: cargo build --verbose
- run: cargo test --verbose - run: cargo test --verbose