Skip to content

Commit

Permalink
Upgrade golang version (#817)
Browse files Browse the repository at this point in the history
We now use generics
  • Loading branch information
daxmc99 authored May 10, 2022
1 parent a9d0851 commit 28b01b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}"
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nodejs 16.7.0
yarn 1.22.4
shellcheck 0.7.1
golang 1.16
golang 1.18.1
python system

0 comments on commit 28b01b4

Please sign in to comment.