add option to force template .Dir be the path of a local module #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |