diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4d6e356 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 +