martian: fix link name #2014
Workflow file for this run
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: Go | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set version env variables | |
run: | | |
cat .version >> $GITHUB_ENV | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: "${{env.GOLANGCI_LINT_VERSION}}" | |
ubuntu-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set version env variables | |
run: | | |
cat .version >> $GITHUB_ENV | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{env.GO_VERSION}}" | |
- name: Run martian unit test | |
run: make -C internal/martian test | |
- name: Run unit test | |
run: make test coverage | |
windows-test: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "stable" #TODO: load from dotenv file see #465 | |
- name: Run martian unit test | |
run: make -C internal/martian test |