diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index b7e83db2a..7d53d84cb 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -7,16 +7,7 @@ on: jobs: lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 - with: - stable: 'false' - go-version: '1.16.1' - - - name: Lint - run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0 - - golangci-lint run \ No newline at end of file + name: Lint + uses: flyteorg/flytetools/.github/workflows/lint.yml@master + with: + go-version: 1.16 \ No newline at end of file