mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
actions: update github workflows to use go1.18 (#34897)
We haven't yet upgraded to 1.18 on buildkite. However, we should be able
to update in github actions. There shouldn't be any issues around these
being out of sync, and this reduces the amount that changes in one go
when we move asdf to 1.18.
fastmod --hidden '(go-version.*)(\b1\.17\b)' '${1}1.18'
Test Plan: CI is green
This commit is contained in:
parent
9adaf3702e
commit
61a222abe6
2
.github/workflows/buildchecker-history.yml
vendored
2
.github/workflows/buildchecker-history.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
- run: ./dev/buildchecker/run-week-history.sh
|
||||
env:
|
||||
|
||||
2
.github/workflows/buildchecker.yml
vendored
2
.github/workflows/buildchecker.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
- run: ./dev/buildchecker/run-check.sh
|
||||
env:
|
||||
|
||||
2
.github/workflows/licenses-check.yml
vendored
2
.github/workflows/licenses-check.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
- uses: actions/setup-ruby@v1
|
||||
with: { ruby-version: '2.6' }
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
# set up correct version of node
|
||||
- id: nvmrc
|
||||
|
||||
2
.github/workflows/licenses-update.yml
vendored
2
.github/workflows/licenses-update.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
- uses: actions/setup-ruby@v1
|
||||
with: { ruby-version: '2.6' }
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
# set up correct version of node
|
||||
- id: nvmrc
|
||||
|
||||
2
.github/workflows/lsif-typescript.yml
vendored
2
.github/workflows/lsif-typescript.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
- name: Run lsif-typescript
|
||||
run: lsif-typescript index --yarn-workspaces
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
- name: Convert LSIF Typed into LSIF Graph
|
||||
run: go run lib/codeintel/tools/lsif-typed/main.go dump.lsif-typed > dump.lsif
|
||||
- name: Upload lsif to Cloud
|
||||
|
||||
2
.github/workflows/pr-auditor.yml
vendored
2
.github/workflows/pr-auditor.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
- run: ./dev/pr-auditor/check-pr.sh
|
||||
env:
|
||||
|
||||
2
.github/workflows/sg-binary-release.yml
vendored
2
.github/workflows/sg-binary-release.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
go-version: 1.18
|
||||
|
||||
- name: Build and upload macOS
|
||||
if: startsWith(matrix.os, 'macos-') == true
|
||||
|
||||
@ -33,7 +33,7 @@ steps:
|
||||
- uses: actions/checkout@v2
|
||||
with: { repository: 'sourcegraph/sourcegraph' }
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
- run: ./dev/pr-auditor/check-pr.sh
|
||||
env:
|
||||
|
||||
@ -63,7 +63,7 @@ steps:
|
||||
- uses: actions/checkout@v2
|
||||
with: { repository: 'sourcegraph/sourcegraph' }
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: '1.17' }
|
||||
with: { go-version: '1.18' }
|
||||
|
||||
- run: ./dev/pr-auditor/check-pr.sh
|
||||
env:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user