diff --git a/.forgejo/actions/mage/Dockerfile b/.forgejo/actions/mage/Dockerfile deleted file mode 100644 index ac36f20..0000000 --- a/.forgejo/actions/mage/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -# syntax=docker/dockerfile:1 -FROM golang:1.23.0 - -RUN go install github.com/magefile/mage@v1.15.0 - -ENTRYPOINT ["mage"] diff --git a/.forgejo/actions/mage/action.yaml b/.forgejo/actions/mage/action.yaml deleted file mode 100644 index a2ca49b..0000000 --- a/.forgejo/actions/mage/action.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: "Enbas Mage Action" -description: "Runs a mage target in the Enbas project" - -inputs: - target: - description: "The mage target to run" - required: true - -runs: - using: "docker" - image: "Dockerfile" - entrypoint: "mage" - args: - - -v - - ${{ inputs.target }} diff --git a/.forgejo/workflows/Tests.yaml b/.forgejo/workflows/Tests.yaml index 6da9f3c..a697f41 100644 --- a/.forgejo/workflows/Tests.yaml +++ b/.forgejo/workflows/Tests.yaml @@ -15,7 +15,7 @@ jobs: - name: Checkout Repository uses: https://code.forgejo.org/actions/checkout@v4 - name: Test - uses: ./.forgejo/actions/mage + uses: https://codeflow.dananglin.me.uk/actions/mage-ci@main with: target: test env: