Skip to content

Commit

Permalink
[workflow] bump golang version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
akshettrj committed May 21, 2024
1 parent edae7c1 commit a030c99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.22'

- name: Clone libwebp and build
run: |
Expand All @@ -36,7 +36,7 @@ jobs:
sudo make install
echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf
sudo ldconfig
- name: Build
run: GOARCH=amd64 GOOS=linux go build -o watgbridge_linux_amd64 .

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.22'

- name: Clone libwebp and build
run: |
Expand All @@ -83,7 +83,7 @@ jobs:
sudo make install
echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf
sudo ldconfig
- name: Build
run: CGO_ENABLED=1 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ GOARCH=arm64 GOOS=linux go build -o watgbridge_linux_aarch64 .

Expand Down

0 comments on commit a030c99

Please sign in to comment.