Upgrade golang version (#817)

We now use generics
This commit is contained in:
Dax McDonald authored and GitHub committed 2022-05-10 03:22:49 +00:00
1 parent a9d08517aa
commit 28b01b45df
3 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -1,16 +1,16 @@
name: pr-auditor
on:
pull_request:
types: [ closed, edited, opened ]
types: [closed, edited, opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: { repository: 'sourcegraph/sourcegraph' }
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:
+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.14'
go-version: "^1.18"
# generate update
- name: Pin tags to ${{ github.event.inputs.semver }}
@@ -25,9 +25,9 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
base: ${{ github.event.inputs.branch }}
branch: upgrade-${{ github.event.inputs.branch }}
title: 'Upgrade ${{ github.event.inputs.branch }} to ${{ github.event.inputs.semver }}'
title: "Upgrade ${{ github.event.inputs.branch }} to ${{ github.event.inputs.semver }}"
body: |
Upgrade the `${{ github.event.inputs.branch }}` branch's Sourcegraph Docker images to enforce constraints `${{ github.event.inputs.semver }}`.
This pull request was generate by [this run](https://github.com/sourcegraph/deploy-sourcegraph/actions/runs/${{ github.run_id }})
commit-message: 'Upgrade to Sourcegraph ${{ github.event.inputs.semver }}'
commit-message: "Upgrade to Sourcegraph ${{ github.event.inputs.semver }}"