chore: release main (#271) #206
This file contains hidden or 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 Observability Plugin | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - 'go/**' | |
| - '.github/workflows/go-plugin.yml' | |
| # - 'e2e/tests/**' | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read | |
| name: Quality Check | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./go | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 | |
| with: | |
| go-version-file: './go/go.mod' | |
| cache-dependency-path: './go/go.sum' | |
| - name: Install dependencies | |
| run: make install | |
| - name: Run linter | |
| uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 | |
| with: | |
| args: -v --config ./.golangci.yaml | |
| working-directory: go | |
| version: latest | |
| - name: Test | |
| run: make test | |
| - name: Build | |
| run: make build |