Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Mage Action

Actions
GitHub Action for Mage, a Make/rake-like build tool using Go
v2.1.0
Star (33)

Mage Logo

Mage Action

GitHub Action for Mage

GitHub release GitHub marketplace Test workflow Codecov Become a sponsor


Mage Action

Usage

name: mage

on:
  pull_request:
  push:

jobs:
  mage:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up Go
        uses: actions/setup-go@v3
        with:
          go-version: 1.14
      -
        name: Run Mage
        uses: magefile/mage-action@v2
        with:
          version: latest
          args: build

For detailed instructions please follow GitHub Actions workflow syntax.

Customizing

inputs

Following inputs can be used as step.with keys

Name Type Default Description
version String latest Mage version. Example: v1.9.0
args String Arguments to pass to Mage
workdir String . Working directory (below repository root)

Keep up-to-date with GitHub Dependabot

Since Dependabot has native GitHub Actions support, to enable it on your GitHub repo all you need to do is add the .github/dependabot.yml file:

version: 2
updates:
  # Maintain dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "daily"

License

MIT. See LICENSE for more details.

Mage Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action for Mage, a Make/rake-like build tool using Go
v2.1.0

Mage Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.