Skip to content

Commit

Permalink
chore: bump to Go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Sep 1, 2023
1 parent 79fb6fc commit 190587a
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.20"
go-version: "1.21"
- run: make format
- name: Indicate formatting issues
run: git diff HEAD --exit-code --color
2 changes: 1 addition & 1 deletion .github/workflows/licenses.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.20"
go-version: "1.21"
- uses: actions/setup-node@v2
with:
node-version: "18"
Expand Down
7 changes: 3 additions & 4 deletions docs/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Docs Build'
description: 'Build and publish docs'
name: "Docs Build"
description: "Build and publish docs"
inputs:
swag-spec-location:
description: Location where the Swagger spec should be saved to
Expand All @@ -24,7 +24,7 @@ runs:
token: ${{ inputs.token }}
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down Expand Up @@ -93,4 +93,3 @@ runs:
git pull origin master --rebase || true
git push origin HEAD:master || true
shell: bash

10 changes: 5 additions & 5 deletions docs/cli-next/action.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: 'Docs CLI (Next Generation)'
description: 'Build CLI docs and commit to ory/docs'
name: "Docs CLI (Next Generation)"
description: "Build CLI docs and commit to ory/docs"
inputs:
token:
description: Personal access token
default: ${{ github.token }}
required: false
docs-branch:
description: On which ory/docs branch to operate on
default: 'master'
default: "master"
required: false
arg:
description: Optional additional argument to .bin/clidoc (inserted before output-dir)
default: ''
default: ""
required: false
output-dir:
description: Directory without leading slash in ory/docs to write the CLI docs to
Expand All @@ -27,7 +27,7 @@ runs:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down
6 changes: 3 additions & 3 deletions docs/cli/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Docs CLI'
description: 'Build CLI docs'
name: "Docs CLI"
description: "Build CLI docs"
inputs:
token:
description: Personal access token
Expand All @@ -25,7 +25,7 @@ runs:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down
6 changes: 3 additions & 3 deletions docs/sync/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Synchronize with Docs'
description: 'Synchronizes files such as OpenAPI and Config Schema with the docs'
name: "Synchronize with Docs"
description: "Synchronizes files such as OpenAPI and Config Schema with the docs"
inputs:
api-spec-location:
description: Location where the OpenAPI Schema is available at
Expand All @@ -24,7 +24,7 @@ runs:
token: ${{ inputs.token }}
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down
8 changes: 4 additions & 4 deletions releaser/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Releaser'
description: 'Release automation action'
name: "Releaser"
description: "Release automation action"
inputs:
token:
description: Personal access token
Expand Down Expand Up @@ -27,10 +27,10 @@ runs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: "16"
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down
9 changes: 4 additions & 5 deletions releaser/render-version-schema/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Render Version Schema'
description: 'Render version schema action'
name: "Render Version Schema"
description: "Render version schema action"
inputs:
token:
description: Personal access token
Expand All @@ -18,10 +18,10 @@ runs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: "16"
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand All @@ -45,4 +45,3 @@ runs:
git pull origin master --rebase || true
git push origin HEAD:master || true
shell: bash
6 changes: 3 additions & 3 deletions sdk/generate/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'SDK Generate'
description: 'SDK generation automation'
name: "SDK Generate"
description: "SDK generation automation"
inputs:
token:
description: Personal access token
Expand Down Expand Up @@ -27,7 +27,7 @@ runs:
token: ${{ inputs.token || github.token }}
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down
2 changes: 1 addition & 1 deletion sdk/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
path: current-repo
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"
- run: |
git config --global user.email "60093411+ory-bot@users.noreply.github.com"
git config --global user.name "ory-bot"
Expand Down

0 comments on commit 190587a

Please sign in to comment.