diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1edb0da435..6ba172a754 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,7 +3,9 @@ on: push: branches: - master - +env: + GOPROXY: https://proxy.golang.org + GO_VERSION: 1.16.4 jobs: generate-docs: runs-on: ubuntu-18.04 @@ -11,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16.4 + go-version: ${{env.GO_VERSION}} stable: true - name: gendocs run: | diff --git a/.github/workflows/time-to-k8s.yml b/.github/workflows/time-to-k8s.yml index eeb3a65092..4917d8fd6e 100644 --- a/.github/workflows/time-to-k8s.yml +++ b/.github/workflows/time-to-k8s.yml @@ -2,6 +2,9 @@ name: "time-to-k8s benchmark" on: release: types: [released] +env: + GOPROXY: https://proxy.golang.org + GO_VERSION: 1.16.4 jobs: benchmark: runs-on: ubuntu-18.04 @@ -11,7 +14,7 @@ jobs: run: git submodule update --init - uses: actions/setup-go@v2 with: - go-version: 1.16.4 + go-version: ${{env.GO_VERSION}} stable: true - name: Benchmark run: | diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 5939f2999d..1287f0dc35 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -1,4 +1,4 @@ -name: Translations Check +name: Translations Validation on: pull_request: paths: @@ -8,7 +8,7 @@ env: GO_VERSION: 1.16.4 jobs: unit_test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 diff --git a/hack/update/golang_version/.update_golang_version.go.swp b/hack/update/golang_version/.update_golang_version.go.swp new file mode 100644 index 0000000000..f1ca2322ce Binary files /dev/null and b/hack/update/golang_version/.update_golang_version.go.swp differ diff --git a/hack/update/golang_version/update_golang_version.go b/hack/update/golang_version/update_golang_version.go index d4fc63799a..58ba67d67b 100644 --- a/hack/update/golang_version/update_golang_version.go +++ b/hack/update/golang_version/update_golang_version.go @@ -45,39 +45,39 @@ const ( var ( schema = map[string]update.Item{ - ".github/workflows/iso.yml": { - Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, - }, - }, - ".github/workflows/kic_image.yml": { - Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, - }, - }, ".github/workflows/build.yml": { Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, ".github/workflows/master.yml": { Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, ".github/workflows/pr.yml": { Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, ".github/workflows/docs.yml": { Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, ".github/workflows/time-to-k8s.yml": { Replace: map[string]string{ - `go-version: '.*`: `go-version: '{{.StableVersion}}'`, + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, + }, + }, + ".github/workflows/translations.yml": { + Replace: map[string]string{ + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, + }, + }, + ".github/worflows/pr_verified.yaml": { + Replace: map[string]string{ + `GO_VERSION: '.*`: `GO_VERSION: '{{.StableVersion}}'`, }, }, ".travis.yml": { diff --git a/translations/pl.json b/translations/pl.json index b416cbf077..b801df76be 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -549,7 +549,7 @@ "Show only log entries which point to known problems": "Pokaż logi które wskazują na znane problemy", "Show only the most recent journal entries, and continuously print new entries as they are appended to the journal.": "", "Simulate numa node count in minikube, supported numa node count range is 1-8 (kvm2 driver only)": "", - "Skipped switching kubectl context for {{.profile_name}} because --keep-context was set.": "Zignorowano zmianę kontekstu kubectl {{.profile_name}} ponieważ --keep-context zostało przekazane", + "Skipped switching kubectl context for {{.profile_name}} because --keep-context was set.": "Zignorowano zmianę kontekstu kubectl dla {{.profile_name}} ponieważ --keep-context zostało przekazane", "Some dashboard features require the metrics-server addon. To enable all features please run:\n\n\tminikube{{.profileArg}} addons enable metrics-server\t\n\n": "", "Sorry, Kubernetes {{.k8sVersion}} requires conntrack to be installed in root's path": "", "Sorry, completion support is not yet implemented for {{.name}}": "",