mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +00:00
chore(actions): include tests for different manifest formats
This commit is contained in:
parent
ca252141e0
commit
a9e6891cf9
2 changed files with 15 additions and 8 deletions
17
.github/workflows/env.yml
vendored
17
.github/workflows/env.yml
vendored
|
@ -18,13 +18,15 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
manifest: [rokit.toml, aftman.toml, foreman.toml]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Create manifest file
|
- name: Create manifest file (aftman/rokit)
|
||||||
|
if: matrix.manifest != foreman.toml
|
||||||
run: |
|
run: |
|
||||||
cat > ${{ inputs.path }}/rokit.toml << EOF
|
cat > ${{ inputs.path }}/${{ matrix.manifest }} << EOF
|
||||||
[tools]
|
[tools]
|
||||||
selene = "Kampfkarren/selene@0.25.0"
|
selene = "Kampfkarren/selene@0.25.0"
|
||||||
stylua = "JohnnyMorganz/stylua@0.18.2"
|
stylua = "JohnnyMorganz/stylua@0.18.2"
|
||||||
|
@ -32,6 +34,17 @@ jobs:
|
||||||
EOF
|
EOF
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Create manifest file (foreman)
|
||||||
|
if: matrix.manifest == foreman.toml
|
||||||
|
run: |
|
||||||
|
cat > ${{ inputs.path }}/${{ matrix.manifest }} << EOF
|
||||||
|
[tools]
|
||||||
|
selene = { github = "Kampfkarren/selene", version = "0.25.0" }
|
||||||
|
stylua = { github = "JohnnyMorganz/stylua", version = "0.18.2" }
|
||||||
|
rojo = { github = "rojo-rbx/rojo", version = "7.3.0" }
|
||||||
|
EOF
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Run setup-rokit
|
- name: Run setup-rokit
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[tools]
|
|
||||||
luau-lsp = "JohnnyMorganz/luau-lsp@1.31.0"
|
|
||||||
lune = "CompeyDev/lune@0.8.7"
|
|
||||||
# moonwave-extractor = "evaera/moonwave@1.1.3"
|
|
||||||
selene = "Kampfkarren/selene@0.27.1"
|
|
||||||
stylua = "JohnnyMorganz/StyLua@0.20.0"
|
|
Loading…
Reference in a new issue