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 ./...