Abstracts the RoundTripper interface and provides a default implement #1280
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
name: Security | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.20.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
env: | |
GO111MODULE: on | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Gosec Security Scanner | |
uses: securego/gosec@v2.14.0 | |
with: | |
args: '-exclude=G104,G304,G402 ./...' |