fix(deps): update shared components packages #4655
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 Build | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '**.go' | |
- '**.toml' | |
- 'go.mod' | |
pull_request: | |
branches: [main] | |
paths: | |
- '**.go' | |
- '**.toml' | |
- 'go.mod' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18.x | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: golangci-lint | |
# v3 | |
uses: golangci/golangci-lint-action@06c3f3a5515ecb115aa8e1a90cbb3d4b3001936c | |
with: | |
version: v1.48.0 | |
# skip-go-installation: true | |
# skip-pkg-cache: true | |
# skip-build-cache: true | |
args: --timeout 3m0s --verbose | |
- name: Check documentation | |
run: make check-docs | |
- name: Check i18n | |
run: make lint-lang | |
- name: Check vendoring | |
run: make check-vendor | |
- name: Build | |
run: make binary | |
- name: Unit tests | |
run: make test |