Skip to content

Review

Review #334

Workflow file for this run

name: Review
on:
push:
branches:
- main
schedule:
- cron: "19 7 * * 2"
jobs:
go-test:
name: Go Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
- name: Report test-coverage to DeepSource
run: |
go test -coverprofile=${COVERAGE_FILE} -v ./...
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key $LANGUAGE_KEY --value-file ${COVERAGE_FILE}
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
COVERAGE_FILE: cover.out
LANGUAGE_KEY: go
codeql:
name: CodeQL
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["go"]
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v3
- uses: github/codeql-action/analyze@v3