name: Scripts CI on: pull_request: paths: - "scripts/**" - ".github/workflows/scripts_ci.yml" push: branches: - main paths: - "scripts/**" - ".github/workflows/scripts_ci.yml" jobs: table-diff: timeout-minutes: 5 runs-on: ubuntu-latest defaults: run: working-directory: ./scripts/table_diff steps: - uses: actions/checkout@v4 - name: Set up Go 1.x uses: actions/setup-go@v5 with: go-version-file: scripts/table_diff/go.mod cache: true cache-dependency-path: scripts/table_diff/go.sum - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: version: v1.55.2 working-directory: scripts/table_diff - name: Test run: go test ./...