Skip to content

Add restrictor for import_preview #1232

Add restrictor for import_preview

Add restrictor for import_preview #1232

Workflow file for this run

name: Test
on: [pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: go fmt
run: test -z $(gofmt -l .)
- name: go vet
run: go vet ./...
- name: golint
run: go install golang.org/x/lint/golint@latest && golint -set_exit_status ./...
- name: test
run: go test -timeout 30s -race ./...