Skip to content

Commit 2cb9acd

Browse files
committed
misc: upgrade go to 1.21
1 parent 04f1c36 commit 2cb9acd

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.github/workflows/golangci-lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
golangci:
1111
strategy:
1212
matrix:
13-
go: [ 1.18 ]
13+
go: [ 1.21 ]
1414
os: [ macos-latest ]
1515
name: lint
1616
runs-on: ${{ matrix.os }}
@@ -23,7 +23,7 @@ jobs:
2323
uses: golangci/golangci-lint-action@v3
2424
with:
2525
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
26-
version: v1.45
26+
version: v1.55
2727
# Optional: working directory, useful for monorepos
2828
# working-directory: somedir
2929

.github/workflows/release-precheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
goreleaser:
1313
strategy:
1414
matrix:
15-
go: [ 1.18 ]
15+
go: [ 1.21 ]
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
goreleaser:
1212
strategy:
1313
matrix:
14-
go: [ 1.18 ]
14+
go: [ 1.21 ]
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
go-version: [ 1.18.x ]
13+
go-version: [ 1.21.x ]
1414
os: [ ubuntu-latest, macos-latest ]
1515
runs-on: ${{ matrix.os }}
1616
steps:
@@ -35,7 +35,7 @@ jobs:
3535
test_windows:
3636
strategy:
3737
matrix:
38-
go-version: [ 1.18.x ]
38+
go-version: [ 1.21.x ]
3939
os: [ windows-latest ]
4040
runs-on: ${{ matrix.os }}
4141
steps:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/mk-5/fjira
22

3-
go 1.18
3+
go 1.21
44

55
require (
66
github.com/bep/debounce v1.2.1

internal/boards/board_view.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ type boardView struct {
4141
columnStatusesMap map[int][]string
4242
columnsX map[int]int
4343
issuesRow map[string]int
44-
issuesX map[string]int
4544
issuesColumn map[string]int
4645
issuesSummaries map[string]string
4746
goBackFn func()
@@ -307,7 +306,7 @@ func (b *boardView) handleActions() {
307306
case ui.ActionOpen:
308307
app.GoTo("issue", b.highlightedIssue.Id, b.reopen, b.api)
309308
}
310-
default:
309+
default: //nolint
311310
}
312311
}
313312
}

0 commit comments

Comments
 (0)