Skip to content

Commit

Permalink
ci: upgrade to use go1.21 as commanded by openfga deps
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer committed Dec 7, 2023
1 parent 7a33983 commit 77cdb18
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: '1.21'
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: renovate-ci
run-name: CI for ${{ github.sha }} on ${{ github.ref_name }}

on:
push:
branches:
- "renovate/**"
pull_request:
branches:
- "renovate/**"

jobs:
autoapprove:
- uses: actions/checkout@v3
- name: Workaround for https://github.com/googleapis/release-please/issues/922
if: ${{ github.event.name == 'push' }}
run: |
echo "Closing and reopening PR to trigger checks"
gh pr close ${{ fromJSON(steps.release.outputs.pr).number }} || true
gh pr reopen ${{ fromJSON(steps.release.outputs.pr).number }} || true
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Enable automerge
if: ${{ github.event.name == 'pull_request' }}
run: gh pr merge --auto --merge ${{ github.event.pull_request.number }} || true
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: '1.19'
go-version: '1.21'
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: 18
Expand Down
2 changes: 1 addition & 1 deletion rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ parts:
source: .
source-type: local
build-snaps:
- go/1.19/stable
- go/1.21/stable
- node/18/stable
build-packages:
- make
Expand Down

0 comments on commit 77cdb18

Please sign in to comment.