ooni-probe-cli/.github/workflows/netxlite.yml
Simone Basso a1df3b4070
chore: upgrade to go1.18.2 (#750)
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
2022-05-22 18:11:37 +02:00

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/...