Skip to content

Covers skip dir

Covers skip dir #45

Workflow file for this run

name: merge-check
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
- "LICENSE"
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.19", "1.20", "1.21"]
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: download dependencies
run: |
go get ./...
- name: Lint files
uses: golangci/golangci-lint-action@v2
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.42
skip-go-installation: true
- name: Run tests
run: go test ./...