Skip to content

feat: normalize consecutive newlines in markdown descriptions to pres… #1125

feat: normalize consecutive newlines in markdown descriptions to pres…

feat: normalize consecutive newlines in markdown descriptions to pres… #1125

Workflow file for this run

name: test
on:
pull_request:
paths:
- .github/workflows/test.yml
- .golangci.yml
- go.mod
- '**.go'
- '**.txtar'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
# Related issue: https://github.com/golangci/golangci-lint/issues/580
- name: Windows - ensure LF line endings for gofmt
if: matrix.os == 'windows-latest'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: 'go.mod'
- name: Run linters
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: latest
args: --timeout=3m
- name: go vet
run: go vet ./...
- name: Run acceptance tests
run: make testacc