fix(client): simplify key-redaction logic #668
Workflow file for this run
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
on: pull_request | |
name: Test | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19.x | |
- name: Restore cache | |
id: cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-bin-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go-bin- | |
- name: Restore cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go-mod- | |
- name: Installing necessary tools | |
run: make dev-dependencies | |
shell: bash | |
- name: Check Module | |
run: make check-mod | |
shell: bash | |
- name: Check Imports | |
run: make check-imports | |
shell: bash | |
- name: Check Fmt | |
run: make check-fmt | |
shell: bash | |
- name: Vet | |
run: make vet | |
shell: bash | |
- name: Staticcheck | |
run: make staticcheck | |
shell: bash | |
test: | |
strategy: | |
matrix: | |
go-version: [1.19.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Restore cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go-mod- | |
- name: Test | |
run: make test | |
shell: bash |