Skip to content

.github: ensure golangci-lint runs on PR's as well #77

.github: ensure golangci-lint runs on PR's as well

.github: ensure golangci-lint runs on PR's as well #77

Workflow file for this run

---
name: Test
"on":
- pull_request
jobs:
test:
strategy:
matrix:
go:
- 'oldstable'
- 'stable'
label:
- [self-hosted, linux, arm64, segment]
- ubuntu-latest
runs-on: ${{ matrix.label }}
steps:
- uses: actions/checkout@v4
- name: Setup Go (${{ matrix.go }})
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Identify OS
run: uname -a
- name: Identify Go Version
run: go version
- name: Download Dependencies
run: go mod download
- name: Run Tests
run: go test -race -tags=${{ matrix.tags }} ./...