mirror of
https://github.com/magefile/mage.git
synced 2026-10-24 06:19:18 +03:00
fix build tags for old versions
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -9,6 +9,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version:
|
||||
- 1.18.x
|
||||
- 1.17.x
|
||||
- 1.16.x
|
||||
- 1.15.x
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//go:build go1.18
|
||||
// +build go1.18
|
||||
|
||||
package mage
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//go:build !go1.18
|
||||
// +build !go1.18
|
||||
|
||||
package mage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user