mirror of
https://github.com/soypat/lneto.git
synced 2026-07-26 10:38:47 +00:00
include tinygo into CI (#67)
* try to include tinygo into CI * fix tinygo issues
This commit is contained in:
@@ -23,7 +23,9 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
|
||||
- name: TinyGo vet
|
||||
run: go vet -tags=tinygo ./...
|
||||
# - name: govulncheck # Getting false positives all the time.
|
||||
# uses: golang/govulncheck-action@v1
|
||||
# with:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build !tinygo && linux
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
package internet
|
||||
|
||||
func makecbnode(s StackNode) cbnode {
|
||||
import "github.com/soypat/lneto"
|
||||
|
||||
func makecbnode(s lneto.StackNode) cbnode {
|
||||
return cbnode{
|
||||
_demux: s.Demux,
|
||||
_encapsulate: s.Encapsulate,
|
||||
|
||||
Reference in New Issue
Block a user