Added an option to disable namespace-metadata #2153
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: | |
pull_request: | |
paths: | |
- .github/workflows/go.yml | |
- go.sum | |
- '**/*.go' | |
- '**/*.golden' | |
- '**/charts/**' | |
permissions: | |
contents: read | |
jobs: | |
go-lint: | |
timeout-minutes: 10 | |
runs-on: ubuntu-20.04 | |
container: ghcr.io/linkerd/dev:v42-go | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just go-lint --verbose --timeout=10m | |
go-format: | |
timeout-minutes: 10 | |
runs-on: ubuntu-20.04 | |
container: ghcr.io/linkerd/dev:v42-go | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just go-fmt | |
go-test: | |
timeout-minutes: 10 | |
runs-on: ubuntu-20.04 | |
container: ghcr.io/linkerd/dev:v42-go | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just go-fetch | |
- run: just go-test | |