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

96 lines
1.9 KiB
YAML
Raw Normal View History

2022-07-18 04:41:44 +01:00
name: CI
on: [push, pull_request]
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:
version: 0.2.2
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:07:51 +01:00
version: 0.2.2
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:
version: 0.2.2
path: "./project"