diff --git a/.github/workflows/build-snapshot.yml b/.github/workflows/build-snapshot.yml index 00db81c..613b399 100644 --- a/.github/workflows/build-snapshot.yml +++ b/.github/workflows/build-snapshot.yml @@ -33,9 +33,12 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '^1.18.0' + go-version-file: 'go.mod' cache: true + - name: Print go version + run: go version + - name: grpc run: make -w grpc diff --git a/.github/workflows/build-tag.yml b/.github/workflows/build-tag.yml index 616b77e..3656a9e 100644 --- a/.github/workflows/build-tag.yml +++ b/.github/workflows/build-tag.yml @@ -31,9 +31,12 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '^1.18.0' + go-version-file: 'go.mod' cache: true + - name: Print go version + run: go version + - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index d503f7c..38f7a9c 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -21,9 +21,12 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '^1.18.0' + go-version-file: 'go.mod' cache: true + - name: Print go version + run: go version + - name: deps run: make -w grpc