fix: Make actions work
Some checks failed
CI / Analyze (push) Failing after 1m7s
CI / Lint (push) Failing after 3s
CI / Styling (push) Failing after 5s

This commit is contained in:
marked 2024-11-11 19:48:53 +01:00
parent 8ee75b96ed
commit a359f8f366
2 changed files with 12 additions and 11 deletions

View file

@ -11,13 +11,15 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rokit
uses: marked/setup-rokit@v0.1.2
uses: https://github.com/CompeyDev/setup-rokit@v0.1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -29,13 +31,15 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rokit
uses: marked/setup-rokit@v0.1.2
uses: https://github.com/CompeyDev/setup-rokit@v0.1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -45,13 +49,15 @@ jobs:
style:
name: Styling
runs-on: ubuntu-latest
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check code style
uses: marked/stylua-action@v4
uses: https://github.com/JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.20.0

View file

@ -1,8 +1,3 @@
# roblox-project-template
A template for Roblox projects using rojo, darklua, jecs and sapphire.
## Workflows
These workflows are made for [my forgejo instance](https://git.devmarked.win/). In order to make them work on GitHub, you have to change the used actions (such as `marked/setup-rokit`) to match the ones available on GitHub (for example `CompeyDev/setup-rokit`).\
You also have to rename `.forgejo` to `.github`, although that should be pretty self explanatory.