Move to using Rokit, update tools, and don't install unnecessary tools (#1109)

This commit is contained in:
Micah
2025-08-29 18:45:15 -07:00
committed by GitHub
parent 54e0ff230b
commit 5f33435f3c
5 changed files with 14 additions and 26 deletions

View File

@@ -35,11 +35,6 @@ jobs:
target target
key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.4.2
with:
version: 'v0.3.0'
- name: Build - name: Build
run: cargo build --locked --verbose run: cargo build --locked --verbose
@@ -76,11 +71,6 @@ jobs:
target target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.4.2
with:
version: 'v0.3.0'
- name: Build - name: Build
run: cargo build --locked --verbose run: cargo build --locked --verbose
@@ -116,10 +106,10 @@ jobs:
target target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Aftman - name: Setup Rokit
uses: ok-nick/setup-aftman@v0.4.2 uses: CompeyDev/setup-rokit@v0.1.2
with: with:
version: 'v0.3.0' version: 'v1.1.0'
- name: Stylua - name: Stylua
run: stylua --check plugin/src run: stylua --check plugin/src

View File

@@ -25,10 +25,10 @@ jobs:
with: with:
submodules: true submodules: true
- name: Setup Aftman - name: Setup Rokit
uses: ok-nick/setup-aftman@v0.4.2 uses: CompeyDev/setup-rokit@v0.1.2
with: with:
version: 'v0.3.0' version: 'v1.1.0'
- name: Build Plugin - name: Build Plugin
run: rojo build plugin.project.json --output Rojo.rbxm run: rojo build plugin.project.json --output Rojo.rbxm
@@ -95,11 +95,6 @@ jobs:
target target
key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Setup Aftman
uses: ok-nick/setup-aftman@v0.4.2
with:
version: 'v0.3.0'
- name: Build Release - name: Build Release
run: cargo build --release --locked --verbose --target ${{ matrix.target }} run: cargo build --release --locked --verbose --target ${{ matrix.target }}

View File

@@ -1,5 +0,0 @@
[tools]
rojo = "rojo-rbx/rojo@7.4.1"
selene = "Kampfkarren/selene@0.27.1"
stylua = "JohnnyMorganz/stylua@0.20.0"
run-in-roblox = "rojo-rbx/run-in-roblox@0.3.0"

5
rokit.toml Normal file
View File

@@ -0,0 +1,5 @@
[tools]
rojo = "rojo-rbx/rojo@7.5.1"
selene = "Kampfkarren/selene@0.29.0"
stylua = "JohnnyMorganz/stylua@2.1.0"
run-in-roblox = "rojo-rbx/run-in-roblox@0.3.0"

View File

@@ -2,3 +2,6 @@ std = "roblox+testez"
[config] [config]
unused_variable = { allow_unused_self = true } unused_variable = { allow_unused_self = true }
[lints]
roblox_manual_fromscale_or_fromoffset = "allow"