Skip to content

Commit

Permalink
Merge pull request #626 from fxamacker/fxamacker/update-to-require-go…
Browse files Browse the repository at this point in the history
…1.20

go: update go.mod and ci.yml to require go1.20 or newer (was go1.17)
  • Loading branch information
fxamacker authored Feb 22, 2025
2 parents 2b74e01 + 40e05c4 commit 57985ad
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
go-version: [1.17, 1.18, 1.19, '1.20', 1.21, 1.22, 1.23]
go-version: ['1.20', 1.21, 1.22, 1.23, 1.24]
steps:
- name: Install Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
Expand Down
2 changes: 0 additions & 2 deletions encode_map.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Faye Amacker. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

//go:build go1.20

package cbor

import (
Expand Down
60 changes: 0 additions & 60 deletions encode_map_go117.go

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/fxamacker/cbor/v2

go 1.17 // Compiling with go 1.20+ uses new features and optimizations
go 1.20

require github.com/x448/float16 v0.8.4

0 comments on commit 57985ad

Please sign in to comment.