Skip to content

Merge pull request #3 from dv-net/ci-fix #8

Merge pull request #3 from dv-net/ci-fix

Merge pull request #3 from dv-net/ci-fix #8

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.4'
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1
- name: Run linter
run: golangci-lint run ./...