ci: use remote mage-ci action
All checks were successful
Tests / test (pull_request) Successful in 17s
REUSE Compliance Check / check (push) Successful in 13s

Replace the local mage action with the remote mage-ci action.
This commit is contained in:
Dan Anglin 2024-08-29 08:13:49 +01:00
parent e898a1ded5
commit fa58e5b719
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 1 additions and 23 deletions

View file

@ -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"]

View file

@ -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 }}

View file

@ -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: