Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Cadence 1.0 #16

Merged
merged 12 commits into from
Nov 13, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.22

- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.22
- uses: actions/cache@v3
with:
path: |
Expand All @@ -65,7 +65,7 @@ jobs:
- uses: zencargo/github-action-go-mod-tidy@v1
with:
path: lib/go/iinft
go-version: 1.18
go-version: 1.22

test:
runs-on: ubuntu-latest
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.22
- name: Set up Cache
uses: actions/cache@v3
with:
Expand Down
13 changes: 8 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
linters-settings:
errcheck:
check-type-assertions: true
check-type-assertions: false
goconst:
min-len: 2
min-occurrences: 3
Expand All @@ -12,9 +12,11 @@ linters-settings:
- performance
- style
govet:
check-shadowing: true
enable:
# report about shadowed variables
- shadowing
nolintlint:
require-explanation: true
require-explanation: false
require-specific: true
funlen:
lines: 100
Expand All @@ -30,12 +32,12 @@ linters:
- asciicheck
- bodyclose
- contextcheck
- depguard
- copyloopvar
# - depguard
- dogsled
# - dupl
- errcheck
- errorlint
- exportloopref
- exhaustive
- goconst
# - gocritic
Expand Down Expand Up @@ -65,4 +67,5 @@ linters:

run:
issues-exit-code: 1
go: '1.22'

Loading
Loading