From a359f8f3660f43b72d51ce713f5a37e8edf46e37 Mon Sep 17 00:00:00 2001 From: marked Date: Mon, 11 Nov 2024 19:48:53 +0100 Subject: [PATCH] fix: Make actions work --- .forgejo/workflows/ci.yml | 18 ++++++++++++------ README.md | 5 ----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 6d98f53..11b3f84 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index cf0f790..4f699da 100644 --- a/README.md +++ b/README.md @@ -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.