HTML: keep original quote when isXML is set; merge isXML with mustQuo… #130
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Build | |
run: go build -v ./... | |
- name: Tests with coverage | |
run: go test -race -v -count=1 ./... | |
#run: go test -race -v -count=1 -coverprofile=coverage.out ./... | |
#- name: Upload Code Coverage | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# name: codecov | |
# fail_ci_if_error: true | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
continue-on-error: true | |
with: | |
version: latest |