setup-rokit/.github/workflows/CI.yml

105 lines
2.1 KiB
YAML
Raw Normal View History

2022-07-18 04:41:44 +01:00
name: CI
2022-07-18 17:38:06 +01:00
on:
2022-07-18 17:40:16 +01:00
push:
2022-07-18 17:38:06 +01:00
paths:
- '**.yml'
2022-07-18 17:40:16 +01:00
pull_request:
paths:
- '**.yml'
2022-07-18 17:20:56 +01:00
defaults:
run:
shell: bash
2022-07-18 04:41:44 +01:00
jobs:
2022-07-18 17:07:51 +01:00
test_linux_no_trust:
2022-07-18 04:41:44 +01:00
runs-on: ubuntu-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:41:44 +01:00
with:
2022-07-18 05:26:01 +01:00
no-trust-check: true
2022-07-18 04:41:44 +01:00
2022-07-18 17:07:51 +01:00
test_mac_no_trust:
2022-07-18 04:41:44 +01:00
runs-on: macos-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
no-trust-check: true
2022-07-18 04:41:44 +01:00
2022-07-18 17:07:51 +01:00
test_windows_no_trust:
runs-on: windows-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:41:44 +01:00
with:
2022-07-18 05:26:01 +01:00
no-trust-check: true
2022-07-18 04:41:44 +01:00
2022-07-18 17:07:51 +01:00
test_linux_with_trust:
runs-on: ubuntu-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
trusts: "Kampfkarren/selene JohnnyMorganz/stylua rojo-rbx/rojo"
test_mac_with_trust:
runs-on: macos-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
trusts: "Kampfkarren/selene JohnnyMorganz/stylua rojo-rbx/rojo"
test_windows_with_trust:
2022-07-18 04:41:44 +01:00
runs-on: windows-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
trusts: "Kampfkarren/selene JohnnyMorganz/stylua rojo-rbx/rojo"
2022-07-18 04:53:19 +01:00
2022-07-18 17:07:51 +01:00
test_linux_version_and_path:
runs-on: ubuntu-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:09:17 +01:00
- run: mkdir project
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
2022-07-18 17:48:55 +01:00
version: v0.2.2
2022-07-18 17:29:50 +01:00
no-trust-check: true
2022-07-18 17:07:51 +01:00
path: "./project"
2022-07-18 04:41:44 +01:00
2022-07-18 17:07:51 +01:00
test_mac_version_and_path:
runs-on: macos-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:09:17 +01:00
- run: mkdir project
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 04:41:44 +01:00
with:
2022-07-18 17:48:55 +01:00
version: v0.2.2
2022-07-18 17:29:50 +01:00
no-trust-check: true
2022-07-18 17:07:51 +01:00
path: "./project"
2022-07-18 04:41:44 +01:00
2022-07-18 17:07:51 +01:00
test_windows_version_and_path:
runs-on: windows-latest
steps:
2022-07-18 17:15:03 +01:00
- uses: actions/checkout@v3
2022-07-18 17:09:17 +01:00
- run: mkdir project
2022-07-18 17:11:39 +01:00
- uses: ./.github/actions/test
2022-07-18 17:07:51 +01:00
with:
2022-07-18 17:48:55 +01:00
version: v0.2.2
2022-07-18 17:29:50 +01:00
no-trust-check: true
2022-07-18 17:07:51 +01:00
path: "./project"