Separate check on main (#288)

This commit is contained in:
Félix Saparelli 2022-05-30 03:07:21 +00:00
parent 3d19ce04e7
commit 84eb92b82e
1 changed files with 33 additions and 0 deletions

33
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: Main branch
on:
push:
branches:
- main
tags-ignore:
- "cli-v*.*.*"
- "lib-v*.*.*"
jobs:
check:
strategy:
matrix:
platform:
- ubuntu
- windows
- macos
name: Check on ${{ matrix.platform }}
runs-on: "${{ matrix.platform }}-latest"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check