From 2dbc5f5829b526f106ff1a63c3135e792bbe05c5 Mon Sep 17 00:00:00 2001 From: "zackari sl." Date: Sun, 4 Aug 2024 00:05:44 +0100 Subject: [PATCH] tweaking the github action file --- .github/workflows/cicd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 65ea322..044c50e 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version-file: '1.22' + go-version: '1.22' - name: Cache Go modules uses: actions/cache@v3 @@ -55,7 +55,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version: '1.22' - name: Install golangci-lint run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2 @@ -74,7 +74,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version: '1.22' - name: Build run: go build -v -o myapp ./...