Kitsune2 Bootstrap Server--Core #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Format | |
run: make fmt | |
- name: Lint | |
run: make clippy | |
- name: Doc | |
if: matrix.os == 'ubuntu-latest' | |
run: make doc | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
ci_pass: | |
if: ${{ always() }} | |
name: "All Jobs Pass" | |
runs-on: "ubuntu-latest" | |
needs: | |
- test | |
steps: | |
- name: check status | |
uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |