Skip to content

fix: remove golangci-lint from CI (Go 1.25 compat) #4

fix: remove golangci-lint from CI (Go 1.25 compat)

fix: remove golangci-lint from CI (Go 1.25 compat) #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Download dependencies
run: go mod download
- name: Vet
run: go vet ./...
- name: Test
run: go test ./... -race -count=1
- name: Build
run: go build -o lark-server ./cmd/lark-server
docker:
name: Docker Build
runs-on: ubuntu-latest
needs: [build]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t lark-daemon:latest .