Skip to content

chore(probeservices): improve tests for /api/v1/login (#1572) #902

chore(probeservices): improve tests for /api/v1/login (#1572)

chore(probeservices): improve tests for /api/v1/login (#1572) #902

Workflow file for this run

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