Skip to content

Commit

Permalink
opentype, fontscan: remove go1.16 build constraints (#114)
Browse files Browse the repository at this point in the history
* opentype, fontscan: remove go1.16 build constraints

Now this project uses Go 1.17 and newer, an old code for Go 1.15 and
older should not be needed.

* .github: update the minimum Go version
  • Loading branch information
hajimehoshi authored Nov 26, 2023
1 parent af78120 commit 3b7c920
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 137 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.19.x, 1.20.x]
go-version: [1.17.x, 1.19.x, 1.20.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}
Expand Down
3 changes: 0 additions & 3 deletions fontscan/scandir_go1.16.go → fontscan/scandir.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build go1.16
// +build go1.16

package fontscan

import (
Expand Down
131 changes: 0 additions & 131 deletions fontscan/scandir_old.go

This file was deleted.

2 changes: 0 additions & 2 deletions opentype/testutils/utils.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// SPDX-License-Identifier: Unlicense OR BSD-3-Clause
//go:build go1.16
// +build go1.16

package testutils

Expand Down

0 comments on commit 3b7c920

Please sign in to comment.