setup-rokit/.github/workflows/CI.yml
2022-07-18 12:48:55 -04:00

105 lines
2.1 KiB
YAML

name: CI
on:
push:
paths:
- '**.yml'
pull_request:
paths:
- '**.yml'
defaults:
run:
shell: bash
jobs:
test_linux_no_trust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
no-trust-check: true
test_mac_no_trust:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
no-trust-check: true
test_windows_no_trust:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
no-trust-check: true
test_linux_with_trust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
trusts: "Kampfkarren/selene JohnnyMorganz/stylua rojo-rbx/rojo"
test_mac_with_trust:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
trusts: "Kampfkarren/selene JohnnyMorganz/stylua rojo-rbx/rojo"
test_windows_with_trust:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
trusts: "Kampfkarren/selene JohnnyMorganz/stylua rojo-rbx/rojo"
test_linux_version_and_path:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: mkdir project
- uses: ./.github/actions/test
with:
version: v0.2.2
no-trust-check: true
path: "./project"
test_mac_version_and_path:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- run: mkdir project
- uses: ./.github/actions/test
with:
version: v0.2.2
no-trust-check: true
path: "./project"
test_windows_version_and_path:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- run: mkdir project
- uses: ./.github/actions/test
with:
version: v0.2.2
no-trust-check: true
path: "./project"