fix: Make actions work
This commit is contained in:
parent
8ee75b96ed
commit
a359f8f366
2 changed files with 12 additions and 11 deletions
|
@ -11,13 +11,15 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rokit
|
- name: Install Rokit
|
||||||
uses: marked/setup-rokit@v0.1.2
|
uses: https://github.com/CompeyDev/setup-rokit@v0.1.2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -29,13 +31,15 @@ jobs:
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rokit
|
- name: Install Rokit
|
||||||
uses: marked/setup-rokit@v0.1.2
|
uses: https://github.com/CompeyDev/setup-rokit@v0.1.2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -45,13 +49,15 @@ jobs:
|
||||||
|
|
||||||
style:
|
style:
|
||||||
name: Styling
|
name: Styling
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Check code style
|
- name: Check code style
|
||||||
uses: marked/stylua-action@v4
|
uses: https://github.com/JohnnyMorganz/stylua-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
version: v0.20.0
|
version: v0.20.0
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
# roblox-project-template
|
# roblox-project-template
|
||||||
|
|
||||||
A template for Roblox projects using rojo, darklua, jecs and sapphire.
|
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.
|
|
||||||
|
|
Loading…
Reference in a new issue