Skip to content

Update lintree command to scan current directory #12

Update lintree command to scan current directory

Update lintree command to scan current directory #12

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
ci:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.26"
cache: true
- name: Download dependencies
run: go mod download
- name: Vet
run: go vet ./...
- name: Lint
run: |
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
golangci-lint run ./...
- name: Build
run: go build -o /dev/null ./...
- name: Test
run: go test -race -count=1 ./...