Skip to content

Commit

Permalink
🔧 gh actions build update for release/1.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufcanb committed Feb 23, 2024
1 parent 0b4a039 commit 24849f0
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Go 1.20
- name: Setup Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: 1.21

- name: Display Go version
run: go version

- name: Install dependencies
run: |
go install github.com/yusufcanb/tlm
env:
GOPATH: /opt/hostedtoolcache/go
run: go install github.com/yusufcanb/tlm

- name: Build
run: go build -v cmd/cli.go
env:
GOPATH: /opt/hostedtoolcache/go

- name: Test with the Go CLI
run: go test
env:
GOPATH: /opt/hostedtoolcache/go
run: go build -o tlm main.go

0 comments on commit 24849f0

Please sign in to comment.