Skip to content

fix: handle checks for internal GH workflows/3rd parties apps #27

fix: handle checks for internal GH workflows/3rd parties apps

fix: handle checks for internal GH workflows/3rd parties apps #27

name: Tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
static-checks:
name: Static Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Configure python
uses: actions/[email protected]
with:
python-version: '3.9'
- name: Configure Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Get golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION}
env:
GOLANGCI_LINT_VERSION: "1.44.2"
- name: Run pre-commit
uses: pre-commit/[email protected]