Skip to content

Commit

Permalink
Bumping go version to 1.19 (#71)
Browse files Browse the repository at this point in the history
* bumping go version to 1.19

Signed-off-by: Daniel Rammer <[email protected]>

* set stable to false in tests

Signed-off-by: Daniel Rammer <[email protected]>

* stable and check-latest

Signed-off-by: Daniel Rammer <[email protected]>

* set correctly now

Signed-off-by: Daniel Rammer <[email protected]>

* reverted

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw authored Feb 7, 2023
1 parent 8c07e02 commit ab27f8a
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions flytetools/.github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
version: ${{ steps.bump_version.outputs.tag }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Set branch name
Expand All @@ -30,4 +30,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }}
WITH_V: true
DEFAULT_BUMP: patch
RELEASE_BRANCHES: ${{ steps.extract_branch.outputs.branch_name }}
RELEASE_BRANCHES: ${{ steps.extract_branch.outputs.branch_name }}
4 changes: 2 additions & 2 deletions flytetools/.github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
cache_key: ${{ steps.cache_key.outputs.cache_key }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- id: load-docker-cache
name: Load Docker Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/tmp/docker-images
key: /tmp/docker-images-${{ github.run_id }}
Expand Down
6 changes: 3 additions & 3 deletions flytetools/.github/workflows/end2end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: unionai/[email protected]
name: Setup flytectl
- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
python-version: 3.8
- id: load-docker-cache
name: Load Docker Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/tmp/docker-images
key: ${{ inputs.cache_key }}
Expand Down
6 changes: 3 additions & 3 deletions flytetools/.github/workflows/flyte_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true
type: string
go-version:
default: "1.18"
default: "1.19"
required: false
type: string
secrets:
Expand All @@ -19,11 +19,11 @@ jobs:
name: Update ${{ inputs.component }} version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ inputs.go-version }}
- name: Update release
Expand Down
6 changes: 3 additions & 3 deletions flytetools/.github/workflows/go_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ on:
workflow_call:
inputs:
go-version:
default: "1.18"
default: "1.19"
required: false
type: string
jobs:
generate:
runs-on: ubuntu-latest
name: Go Generate
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: arduino/setup-protoc@v1
- uses: bufbuild/buf-setup-action@v1
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ inputs.go-version }}
- name: Go generate and diff
Expand Down
2 changes: 1 addition & 1 deletion flytetools/.github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
go-version:
default: "1.18"
default: "1.19"
required: false
type: string
secrets:
Expand Down
8 changes: 4 additions & 4 deletions flytetools/.github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true
type: string
go-version:
default: "1.18"
default: "1.19"
required: false
type: string
jobs:
Expand All @@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- id: load-docker-cache
name: Load Docker Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/tmp/docker-images
key: ${{ inputs.cache_key }}
Expand All @@ -30,7 +30,7 @@ jobs:
with:
version: "v0.11.1"
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ inputs.go-version }}
- name: Integration
Expand Down
6 changes: 3 additions & 3 deletions flytetools/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
go-version:
default: "1.18"
default: "1.19"
required: false
type: string
jobs:
Expand All @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ inputs.go-version }}
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion flytetools/.github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Push to Github Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Set up QEMU
Expand Down
6 changes: 3 additions & 3 deletions flytetools/.github/workflows/register_and_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Register Examples
runs-on: flyteorg-infra
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup flytectl
uses: unionai/[email protected]
- name: Create secret
Expand All @@ -53,9 +53,9 @@ jobs:
needs: ["register-examples"]
runs-on: flyteorg-infra
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Setup Flytekit
Expand Down
6 changes: 3 additions & 3 deletions flytetools/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
go-version:
default: "1.18"
default: "1.19"
required: false
type: string
secrets:
Expand All @@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ inputs.go-version }}
- name: Unit Tests
Expand Down

0 comments on commit ab27f8a

Please sign in to comment.