build(deps): bump github.com/bytedance/sonic from 1.11.9 to 1.12.2 #184
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: Go-Push-API-Action | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- feature/** | |
- fix/** | |
pull_request: | |
branches: | |
- main | |
- develop | |
- feature/** | |
- fix/** | |
# Always force the use of Go modules | |
env: | |
GO111MODULE: on | |
jobs: | |
golangci: | |
strategy: | |
matrix: | |
go-version: [1.18.x,1.19.x] | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: latest | |
Reviveci: | |
strategy: | |
matrix: | |
go-version: [1.18.x,1.19.x] | |
name: Run Revive Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
- uses: actions/checkout@v4 | |
- name: Run Revive Action | |
uses: morphy2k/revive-action@v2 | |
with: | |
# Path to your Revive config within the repo (optional) | |
config: revive.toml | |
build: | |
runs-on: ubuntu-latest | |
# strategy set | |
strategy: | |
matrix: | |
go: ["1.18", "1.19"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |