fix(ci): Changes from v2 for release 2.8.5 #1946
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: V2 Lint | |
on: | |
pull_request: | |
jobs: | |
lint: | |
name: lint | |
if: github.repository == 'SeldonIO/seldon-core' # Do not run this on forks. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
cache: false | |
- name: lint-operator | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.57.2 | |
working-directory: operator | |
skip-cache: true | |
args: --timeout 10m --verbose | |
- name: lint-scheduler | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.57.2 | |
working-directory: scheduler | |
skip-cache: true | |
args: --timeout 10m --verbose | |
- name: lint-hodometer | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.57.2 | |
working-directory: hodometer | |
skip-cache: true | |
args: --timeout 10m --verbose | |
- name: lint-tls | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.57.2 | |
working-directory: components/tls | |
skip-cache: true | |
args: --timeout 10m --verbose | |
- name: lint-dataflow | |
run: make -C scheduler/data-flow lint |