Skip to content

add initial security scanner configuration #4

add initial security scanner configuration

add initial security scanner configuration #4

Workflow file for this run

name: Codequality
on: [pull_request]
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
unit-test:
name: unit-test
runs-on: ubuntu-latest

Check failure on line 10 in .github/workflows/unittest.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unittest.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Test
run: make test-only
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.52
args: --timeout=5m