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:
Keegan Carruthers-Smith 2022-05-05 09:26:02 +02:00 committed by GitHub
parent 9adaf3702e
commit 61a222abe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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: