include tinygo into CI (#67)

* try to include tinygo into CI

* fix tinygo issues
This commit is contained in:
Pat Whittingslow
2026-04-09 10:00:10 -03:00
committed by GitHub
parent 63f7870fe5
commit 80e4c59ae7
3 changed files with 8 additions and 2 deletions
+2
View File
@@ -24,6 +24,8 @@ jobs:
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...
- name: TinyGo vet
run: go vet -tags=tinygo ./...
# - name: govulncheck # Getting false positives all the time. # - name: govulncheck # Getting false positives all the time.
# uses: golang/govulncheck-action@v1 # uses: golang/govulncheck-action@v1
# with: # with:
+2
View File
@@ -1,3 +1,5 @@
//go:build !tinygo && linux
package main package main
import ( import (
+3 -1
View File
@@ -2,7 +2,9 @@
package internet package internet
func makecbnode(s StackNode) cbnode { import "github.com/soypat/lneto"
func makecbnode(s lneto.StackNode) cbnode {
return cbnode{ return cbnode{
_demux: s.Demux, _demux: s.Demux,
_encapsulate: s.Encapsulate, _encapsulate: s.Encapsulate,