From 5ad8801d123419882893d721e98f29831da2d616 Mon Sep 17 00:00:00 2001 From: Sajia Zafreen Date: Wed, 30 Aug 2023 11:26:37 -0700 Subject: [PATCH] Add 1.20 for Prowjob Liner --- jobs/aws/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml | 2 ++ .../eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/jobs/aws/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml b/jobs/aws/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml index cbae61b58..ad60655cf 100644 --- a/jobs/aws/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml +++ b/jobs/aws/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml @@ -51,6 +51,8 @@ presubmits: env: - name: PROJECT_PATH value: "templater" + - name: GO_SOURCE_VERSION + value: "1.20" - name: LINT_PROJECT_PATH value: "linter" resources: diff --git a/templater/jobs/presubmit/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml b/templater/jobs/presubmit/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml index 8cfe9f5d4..f76a0e3e2 100755 --- a/templater/jobs/presubmit/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml +++ b/templater/jobs/presubmit/eks-distro-prow-jobs/prowjobs-lint-presubmits.yaml @@ -5,6 +5,8 @@ commands: - make lint -C $LINT_PROJECT_PATH projectPath: templater envVars: + - name: GO_SOURCE_VERSION + value: "1.20" - name: LINT_PROJECT_PATH value: linter resources: