Skip to content

fix(gardener): avoid issues caused by stale databases (#1516) #11

fix(gardener): avoid issues caused by stale databases (#1516)

fix(gardener): avoid issues caused by stale databases (#1516) #11

Workflow file for this run

# Runs tests for internal/libtor with -tags=ooni_libtor
name: libtorlinux
on:
push:
branches:
- "master"
- "release/**"
- "fullbuild"
jobs:
test_ooni_libtor:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Get GOVERSION content
id: goversion
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT"
- uses: magnetikonline/action-golang-cache@v4
with:
go-version: "${{ steps.goversion.outputs.version }}"
cache-key-suffix: "-libtorlinux-${{ steps.goversion.outputs.version }}"
- run: go run ./internal/cmd/buildtool linux cdeps zlib openssl libevent tor
- run: go test -count 1 -v -cover -tags ooni_libtor -race ./internal/libtor/...