fix(deps): update module go.uber.org/mock to v0.5.0 #287
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: development | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
qa: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Golang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.20.6' | |
- name: Lint Go files | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.53.3 | |
args: -v --color=always --config=.rules/.golangci.yml ./... | |
- name: Run unit tests | |
run: scripts/test-unit.sh | |
# - name: Run integration tests | |
# run: scripts/test-integration.sh | |
# - name: Run e2e tests | |
# run: scripts/test-e2e.sh | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Build binaries | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
distribution: goreleaser | |
version: '1.19.2' | |
args: release --debug --snapshot --rm-dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GO_VERSION: '1.20.6' |