2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-28 17:30:41 +00:00

feat: allow builds for unix (#311)

This commit is contained in:
sammyette 2024-07-19 09:48:01 -04:00 committed by GitHub
parent b24fc4a422
commit d7ab887234
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 12 additions and 12 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.18.8' go-version: '1.22.2'
- name: Download Task - name: Download Task
run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d' run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d'
- name: Build - name: Build

View File

@ -1,4 +1,4 @@
// +build linux darwin //go:build unix
package main package main

View File

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

View File

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

View File

@ -1,4 +1,4 @@
// +build darwin linux //go:build unix
package main package main

View File

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

View File

@ -1,4 +1,4 @@
// +build pprof //go:build pprof
package main package main

View File

@ -1,4 +1,4 @@
// +build darwin linux //go:build unix
package main package main

View File

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main

View File

@ -1,4 +1,4 @@
// +build darwin //go:build darwin
package main package main

View File

@ -1,4 +1,4 @@
// +build linux //go:build unix && !darwin
package main package main

View File

@ -1,4 +1,4 @@
// +build windows //go:build windows
package main package main