a1df3b4070
I have not upgraded ooni/go yet because I am also checking whether it would be possible instead to use ooni/oocrypto as documented in the https://github.com/ooni/probe/issues/2106 issue. Closes https://github.com/ooni/probe/issues/2070 Closes https://github.com/ooni/probe/issues/2077
22 lines
586 B
YAML
22 lines
586 B
YAML
# netxlite runs unit and integration tests on our fundamental net library
|
|
name: netxlite
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
jobs:
|
|
test_netxlite_package:
|
|
runs-on: "${{ matrix.os }}"
|
|
strategy:
|
|
matrix:
|
|
go: [ "1.18.2" ]
|
|
os: [ "ubuntu-20.04", "windows-2019", "macos-10.15" ]
|
|
steps:
|
|
- uses: magnetikonline/action-golang-cache@v2
|
|
with:
|
|
go-version: "${{ matrix.go }}"
|
|
cache-key-suffix: "-coverage-${{ matrix.go }}"
|
|
- uses: actions/checkout@v2
|
|
- run: go test -race ./internal/netxlite/...
|