Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ^1.15
go-version: '1.24.x'

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Update pip
run: pip install --upgrade pip
Expand All @@ -31,13 +31,13 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.21
- uses: actions/checkout@v3
go-version: '1.24.x'
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v7
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.54
version: v2.10.1
# args: --timeout 2m
39 changes: 21 additions & 18 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@

run:
skip-files:
- ".*bindata.go$"
- ".*pb.go"
- ".*pb.gw.go"
version: "2"

run:
timeout: 5m

issues:
exclude:
- "not declared by package utf8"
- "unicode/utf8/utf8.go"

linters:
# Disable all linters.
# Default: false
disable-all: true
default: none
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
- gofmt
- goimports
- misspell
- typecheck
- gosimple
- govet
- govet
exclusions:
paths:
- ".*bindata.go$"
- ".*pb.go"
- ".*pb.gw.go"
rules:
- text: "not declared by package utf8"
linters:
- govet
- path: "unicode/utf8/utf8.go"
linters:
- govet

formatters:
enable:
- gofmt
- goimports
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


SIFTER_VERSION=0.1.5
SIFTER_VERSION=0.2.0

#hack to get around submodule weirdness in automated docker builds
hub-build:
Expand Down Expand Up @@ -30,5 +30,3 @@ test: .TEST
.TEST:
go test ./test

docs:
@go run docschema/main.go | ./docschema/schema-to-markdown.py > Playbook.md
Loading
Loading