From 33e2ab0da39826f4ab6a3d9af8562852f59e8605 Mon Sep 17 00:00:00 2001 From: rramiachraf <51409801+rramiachraf@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:22:03 +0100 Subject: [PATCH] test: add missing dependency --- .github/workflows/test.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0775980..d79fb43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Test and Build on: push: branches: - - master + - main jobs: build: @@ -10,9 +10,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 - - name: Install dependencies - run: go get . - - name: Build - run: make build - - name: Test - run: make test + with: + go-version-file: go.mod + - run: go install github.com/a-h/templ/cmd/templ@latest + - run: make build + - run: make test