fix(deps): update module github.com/antchfx/xmlquery to v1.3.18 #83
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: Build | |
on: | |
push: | |
branches: | |
- master | |
- build/* | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 6 | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: Checkout | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
uses: golangci/[email protected] | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.51.1 | |
args: --timeout 10m | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
go: ["1.20"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
with: | |
fetch-depth: 0 | |
- name: "Setup Go ${{ matrix.go }}" | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "${{ matrix.go }}" | |
- name: "Setup Go modules cache" | |
uses: "actions/cache@v3" | |
with: | |
path: "~/go/pkg/mod" | |
key: "${{ runner.os }}-go-${{ hashFiles('go.sum') }}" | |
restore-keys: "${{ runner.os }}-go-" | |
- name: Build Binary | |
run: go build . | |
- name: Run Test | |
run: go test -race -coverprofile coverage.out -covermode atomic -tags test -v ./... | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage.out | |
verbose: true |