Update go.yml

This commit is contained in:
foglar 2024-03-10 09:45:03 +00:00 committed by GitHub
parent d3ef18cb79
commit 6ca93b3035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
cd monitor && go get github.com/gopxl/pixel && go get github.com/tarm/serial
cd monitor && go get .
- name: Set up Go
uses: actions/setup-go@v4
@ -26,4 +26,4 @@ jobs:
go-version: '1.20'
- name: Build
run: go build -o ./monitor.out -v monitor/.
run: cd monitor && go build -o ./monitor.out .