mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
add CI
This commit is contained in:
parent
e996770139
commit
333be3b665
2 changed files with 51 additions and 0 deletions
14
.github/actions/env.yml
vendored
Normal file
14
.github/actions/env.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Build Test Environment
|
||||
description: Build test environment for setup-aftman
|
||||
author: ok-nick
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- run: |
|
||||
cat > aftman.toml << EOF
|
||||
[tools]
|
||||
selene = "Kampfkarren/selene@0.19.1"
|
||||
stylua = "JohnnyMorganz/stylua@0.14.0"
|
||||
rojo = "rojo-rbx/rojo@7.2.1"
|
||||
EOF
|
37
.github/workflows/CI.yml
vendored
Normal file
37
.github/workflows/CI.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test_linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/env.yml
|
||||
|
||||
- name: Run setup-aftman
|
||||
uses: ok-nick/setup-aftman@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
test_mac:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/env.yml
|
||||
|
||||
- name: Run setup-aftman
|
||||
uses: ok-nick/setup-aftman@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
test_windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/env.yml
|
||||
|
||||
- name: Run setup-aftman
|
||||
uses: ok-nick/setup-aftman@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in a new issue