Skip to content

Introduce XDG-compliant configuration system (RFC-20251130-001) #25

Introduce XDG-compliant configuration system (RFC-20251130-001)

Introduce XDG-compliant configuration system (RFC-20251130-001) #25

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Verify dependencies
run: go mod verify
- name: Build
run: go build -v ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -coverprofile=coverage.out ./...
env:
GOPATH: /home/runner/go
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
files: coverage.out
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest