Skip to content

Commit

Permalink
Change go version for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
metaspartan committed Apr 19, 2024
1 parent 96da5f5 commit d9cc6cc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
go-version: '1.20'

- name: Install X11 development libraries
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.20'

- name: Install fyne-cross
run: |
go install github.com/fyne-io/fyne-cross@latest
- name: Install X11 development libraries
run: |
sudo apt-get update
sudo apt-get install -y libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libgl1-mesa-dev libxi-dev libxext-dev libglu1-mesa-dev xorg-dev
- name: Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ builds:
- arm64
binary: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
hooks:
post: mv "{{ .Path }}" "{{ .Path }}{{ if eq .Os \"windows\" }}.exe{{ end }}"
post: mv "{{ .Path }}" "{{ .Path }}{{ if eq .Os 'windows' }}.exe{{ end }}"

# Disable archives
archives:
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ollamark.com/ollamark/v2
module github.com/context-labs/ollamark/v2

go 1.22
go 1.20

require (
fyne.io/fyne v1.4.3 // indirect
Expand Down

0 comments on commit d9cc6cc

Please sign in to comment.