Skip to content

Commit

Permalink
🔧 github actions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufcanb committed Feb 17, 2024
1 parent 76943ab commit 2af61a2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,20 @@ jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.20', '1.21.x' ]

steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
- name: Setup Go 1.20
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
go-version: 1.20
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
- name: Install dependencies
run: |
go get .
go get github.com/yusufcanb/tlama
- name: Build
run: go build -v ./...
run: go build -v cmd/...
- name: Test with the Go CLI
run: go test
run: go test

0 comments on commit 2af61a2

Please sign in to comment.