cleanup: move measurex and tracex inside ./internal/legacy (#1261) #544
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs the gosec security scanner | |
name: gosec | |
on: | |
push: | |
branches: | |
- "master" | |
- "release/**" | |
- "fullbuild" | |
jobs: | |
gosec: | |
runs-on: ubuntu-22.04 | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout Source | |
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: "-gosec-${{ steps.goversion.outputs.version }}" | |
- name: Run Gosec security scanner | |
continue-on-error: true # TODO(https://github.com/ooni/probe/issues/2180) | |
uses: securego/gosec@master | |
with: | |
args: ./... |