fogfish/blueprint-serverless-golang

View on GitHub
.github/workflows/check-code.yml

Summary

Maintainability
Test Coverage
##
## Quality checks
##
name: check
on:
  pull_request:
    types:
      - opened
      - synchronize

jobs:

  code:
    runs-on: ubuntu-latest
    steps:

      - uses: actions/checkout@v4.1.1

      - uses: actions/setup-go@v5
        with:
          go-version: "1.21"
          cache: true

      - uses: dominikh/staticcheck-action@v1.3.0
        with:
          install-go: false