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
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ on:
pull_request:
branches: [ "main" ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
strategy:
matrix:
test: [asm-test,corset-test,corset-bench,unit-test]
fail-fast: false
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
Expand Down
8 changes: 6 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ linters:
- revive
- staticcheck
- unconvert
- unparam
# - unparam #was causing crash
- unused
- whitespace
- wsl
- wsl_v5
settings:
errcheck:
check-blank: true
Expand Down Expand Up @@ -58,6 +58,10 @@ linters:
- -ST1023
- -QF1001
- -QF1011
wsl_v5:
allow-first-in-block: true
allow-whole-block: false
branch-max-lines: 2
exclusions:
generated: lax
paths:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: go-test-mod
args: [ --run=Test_Basic ]
- repo: https://github.com/golangci/golangci-lint
rev: v2.3.1
rev: v2.4.0
hooks:
- id: golangci-lint
- repo: https://github.com/executablebooks/mdformat
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GOCORSET_VERSION:=$(shell git describe --always --tags)
GOCORSET_VERSION_PATH:="github.com/consensys/go-corset/pkg/cmd"
GOLANGCI_VERSION:=2.3.1
GOLANGCI_VERSION:=2.4.0
PROJECT_NAME:=go-corset
GOPATH_BIN:=$(shell go env GOPATH)/bin
# Define set of unit tests
Expand Down
Loading