Skip to content

Commit

Permalink
support go 1.22; drop support for go 1.19 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Apr 21, 2024
1 parent c2f6b02 commit c737925
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dialects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"

- run: go install mvdan.cc/[email protected]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.22"

- uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"

- run: |
go mod tidy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.19", "1.20", "1.21"]
go: ["1.20", "1.21", "1.22"]

steps:
- uses: actions/checkout@v2
Expand All @@ -22,7 +22,7 @@ jobs:

- run: make test-nodocker

- if: matrix.go == '1.21'
- if: matrix.go == '1.22'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BASE_IMAGE = golang:1.21-alpine3.18
BASE_IMAGE = golang:1.22-alpine3.18
LINT_IMAGE = golangci/golangci-lint:v1.56.2

.PHONY: $(shell ls)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Features:

## Installation

1. Install Go ≥ 1.19.
1. Install Go ≥ 1.20.

2. Create an empty folder, open a terminal in it and initialize the Go modules system:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bluenviron/gomavlib/v3

go 1.19
go 1.20

require (
bou.ke/monkey v1.0.2
Expand Down

0 comments on commit c737925

Please sign in to comment.