ci: use remote mage-ci action #58
3 changed files with 1 additions and 23 deletions
|
@ -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"]
|
|
|
@ -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 }}
|
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: ./.forgejo/actions/mage
|
uses: https://codeflow.dananglin.me.uk/actions/mage-ci@main
|
||||||
with:
|
with:
|
||||||
target: test
|
target: test
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue