Skip to content

(go/v4): Ignore typecheck for *test.go* files #848

(go/v4): Ignore typecheck for *test.go* files

(go/v4): Ignore typecheck for *test.go* files #848

Workflow file for this run

name: Linting Samples
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
jobs:
lint:
runs-on: ubuntu-latest
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
- name: Testing Lint for project-v4
run: |
cd testdata/project-v4
make lint
- name: Testing Lint for project-v4-with-deploy-image
run: |
cd testdata/project-v4-with-deploy-image
make lint