mirror of
https://github.com/soypat/lneto.git
synced 2026-09-04 05:49:02 +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
|
- 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:
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
//go:build !tinygo && linux
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user