Skip to content

ctx journal - planning. #120

ctx journal - planning.

ctx journal - planning. #120

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
- name: Build
run: CGO_ENABLED=0 go build ./...
- name: Test
run: CGO_ENABLED=0 go test -v ./...
env:
CTX_SKIP_PATH_CHECK: "1"
- name: Vet
run: CGO_ENABLED=0 go vet ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v1.64.8
args: --timeout=5m
# Build golangci-lint from source using Go 1.25
install-mode: goinstall