From 2af61a240f1d50a5daae0d9fd7f1f686bd079736 Mon Sep 17 00:00:00 2001 From: Yusuf Can Bayrak Date: Sat, 17 Feb 2024 01:07:26 +0100 Subject: [PATCH] :wrench: github actions fix --- .github/workflows/build.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 026a923..3b5ce24 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 \ No newline at end of file + run: go test