chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue from 1.14.9 to 1.14.10 #31
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: ci | |
on: | |
push: | |
branches: | |
- "feat/**" | |
- "refactor/**" | |
- "fix/**" | |
pull_request: | |
branches: | |
- "main" | |
workflow_call: | |
permissions: write-all | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
goversion: [ "~1.21" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.goversion }} | |
cache: true | |
cache-dependency-path: go.sum | |
- name: Setup mockgen | |
run: | | |
go install go.uber.org/mock/mockgen@latest | |
- name: Go Generate | |
run: | | |
go mod tidy | |
go generate ./... | |
git diff --exit-code | |
- name: golangci-lint with reviedog | |
uses: reviewdog/action-golangci-lint@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
go_version: ${{ matrix.goversion }} | |
reporter: github-pr-review | |
level: warning | |
golangci_lint_flags: "--config=.golangci.yaml" | |
- name: Setup golang.org/x/vuln/cmd/govulncheck | |
run: | | |
go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: govulncheck | |
run: | | |
govulncheck -json ./... | |
- name: Unit Test | |
run: | | |
TARGET=$(go list ./... | grep -v "mock") | |
go test $TARGET -v -coverpkg=$TARGET -coverprofile=coverage.out | |
- name: Upload unit test coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: coverage.out | |
fail_ci_if_error: false | |
verbose: true |