From a9e6891cf95e6263c66827fb6b3e40d70c7c406c Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 13 Aug 2024 20:46:30 +0530 Subject: [PATCH] chore(actions): include tests for different manifest formats --- .github/workflows/env.yml | 17 +++++++++++++++-- rokit.toml | 6 ------ 2 files changed, 15 insertions(+), 8 deletions(-) delete mode 100644 rokit.toml diff --git a/.github/workflows/env.yml b/.github/workflows/env.yml index 517f84e..8b08255 100644 --- a/.github/workflows/env.yml +++ b/.github/workflows/env.yml @@ -18,13 +18,15 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + manifest: [rokit.toml, aftman.toml, foreman.toml] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Create manifest file + - name: Create manifest file (aftman/rokit) + if: matrix.manifest != foreman.toml run: | - cat > ${{ inputs.path }}/rokit.toml << EOF + cat > ${{ inputs.path }}/${{ matrix.manifest }} << EOF [tools] selene = "Kampfkarren/selene@0.25.0" stylua = "JohnnyMorganz/stylua@0.18.2" @@ -32,6 +34,17 @@ jobs: EOF 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 uses: ./ with: diff --git a/rokit.toml b/rokit.toml deleted file mode 100644 index 574a423..0000000 --- a/rokit.toml +++ /dev/null @@ -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"