Skip to content

add option to force template .Dir be the path of a local module #48

add option to force template .Dir be the path of a local module

add option to force template .Dir be the path of a local module #48

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
runs-on: ${{matrix.platform}}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Checkout code
uses: actions/checkout@v4
- name: Lint
uses: magefile/mage-action@v3
with:
version: latest
args: lint
- name: Doc Verify
uses: magefile/mage-action@v3
with:
version: latest
args: docVerify
- name: Test
uses: magefile/mage-action@v3
with:
version: latest
args: test
- name: Upload Coverage
if: ${{ matrix.platform == 'ubuntu-latest' }}
uses: codecov/codecov-action@v4