Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
Signed-off-by: cutecutecat <[email protected]>
  • Loading branch information
cutecutecat committed May 26, 2023
1 parent 36e7bba commit 614dce4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GOLANG_VERSION: '1.20'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -17,7 +19,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: ${{ env.GOLANG_VERSION }}
- uses: actions/checkout@v3
- name: Cache Go modules
uses: actions/cache@preview
Expand Down Expand Up @@ -67,7 +69,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: ${{ env.GOLANG_VERSION }}
- name: Cache Go modules
uses: actions/cache@preview
with:
Expand Down Expand Up @@ -98,7 +100,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: ${{ env.GOLANG_VERSION }}
- name: Cache Go modules
uses: actions/cache@preview
with:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: release

on:
workflow_call:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
tags:
- 'v*'
Expand All @@ -17,10 +19,6 @@ jobs:
fetch-depth: 0
- name: Show tags
run: git tag
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: setup release environment
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export SHELL := bash
export SHELLOPTS := errexit

PACKAGE_NAME := github.com/tensorchord/envd-lsp
GOLANG_CROSS_VERSION ?= v1.17.6
GOLANG_CROSS_VERSION ?= v1.20.4

# Project main package location (can be multiple ones).
CMD_DIR := ./cmd
Expand Down
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/tensorchord/envd-lsp

go 1.18
go 1.20

require (
github.com/cockroachdb/errors v1.9.1
Expand Down

0 comments on commit 614dce4

Please sign in to comment.