You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Mage Action
v1.7.0
GitHub Action for Mage
name: mage
on:
pull_request:
push:
jobs:
mage:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
-
name: Run Mage
uses: magefile/mage-action@v1
with:
version: latest
args: build
For detailed instructions please follow GitHub Actions workflow syntax.
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) |
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"
MIT. See LICENSE
for more details.