Skip to content

Commit

Permalink
ci: Bump Go version in CI as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed Apr 2, 2024
1 parent 331d0e5 commit 4bf2c45
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release-wave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Release Version'
description: "Release Version"
required: true

env:
Expand All @@ -27,11 +27,11 @@ jobs:

- uses: actions/setup-go@v1
with:
go-version: '1.19.4'
go-version: "1.22.1"

- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Setup
run: make setup
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Build Release
run: make release
env:
NODE_OPTIONS: '--max-old-space-size=8192'
NODE_OPTIONS: "--max-old-space-size=8192"

- name: Unit Test
run: |
Expand Down Expand Up @@ -81,8 +81,8 @@ jobs:
- name: Publish to Conda
uses: marek-mihok/[email protected]
with:
CondaDir: 'py/h2o_wave/conda'
Platforms: 'noarch'
CondaDir: "py/h2o_wave/conda"
Platforms: "noarch"
CondaUsername: ${{ secrets.CONDA_USERNAME }}
CondaPassword: ${{ secrets.CONDA_PASSWORD }}
env:
Expand Down Expand Up @@ -115,17 +115,17 @@ jobs:
- name: Publish apps for Cloud
run: make build-apps publish-apps-s3-hac
env:
HAC_S3_BUCKET : ${{ secrets.HAC_S3_BUCKET }}
HAC_S3_BUCKET: ${{ secrets.HAC_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_WEST_REGION }}

- name: Publish apps for Managed Cloud
run: make publish-apps-s3-mc
env:
MC_S3_BUCKET : ${{ secrets.MC_S3_BUCKET }}
MC_S3_BUCKET: ${{ secrets.MC_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.MC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY : ${{ secrets.MC_AWS_SECRET_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.MC_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.MC_AWS_REGION }}

# Call some time after cloudfront cache bust - crawler needs to hit fresh cache.
Expand All @@ -138,7 +138,7 @@ jobs:
ALGOLIA_CRAWLER_USER_ID: ${{ secrets.ALGOLIA_CRAWLER_USER_ID }}

- name: Build university
run: make publish-university
run: make publish-university

- name: Publish to PyPI - wave_university
uses: pypa/gh-action-pypi-publish@master
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/release-wavedb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
workflow_dispatch:
inputs:
version:
description: 'WaveDB Release Version (0.0.0)'
description: "WaveDB Release Version (0.0.0)"
required: true
tag:
description: 'Wave Release Version (0.0.0)'
description: "Wave Release Version (0.0.0)"
required: true

env:
Expand All @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.16'
go-version: "1.22.1"
- uses: actions/checkout@v2
with:
token: ${{ secrets.GIT_TOKEN }}
Expand All @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.16'
go-version: "1.22.1"
- uses: actions/checkout@v2
with:
token: ${{ secrets.GIT_TOKEN }}
Expand All @@ -60,7 +60,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.16'
go-version: "1.22.1"
- uses: actions/checkout@v2
with:
token: ${{ secrets.GIT_TOKEN }}
Expand All @@ -73,4 +73,3 @@ jobs:
tag_name: ${{ env.TAG }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/h2oai/wave

go 1.22.1
go 1.22

require (
github.com/coreos/go-oidc v2.2.1+incompatible
Expand Down

0 comments on commit 4bf2c45

Please sign in to comment.