Skip to content

Commit

Permalink
add go1.23 on ubuntu tests (#930)
Browse files Browse the repository at this point in the history
* Makefile: set minimum go version to 1.22

* CI: add go1.23 on ubuntu tests
  • Loading branch information
libotony authored Dec 27, 2024
1 parent 1557868 commit ba7ff3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
matrix:
go-version: [1.22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- go-version: 1.23.x
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ dep:| go_version_check

go_version_check:
@if test $(MAJOR) -lt 1; then \
echo "Go 1.19 or higher required"; \
echo "Go 1.22 or higher required"; \
exit 1; \
else \
if test $(MAJOR) -eq 1 -a $(MINOR) -lt 19; then \
echo "Go 1.19 or higher required"; \
if test $(MAJOR) -eq 1 -a $(MINOR) -lt 22; then \
echo "Go 1.22 or higher required"; \
exit 1; \
fi \
fi
Expand Down

0 comments on commit ba7ff3f

Please sign in to comment.