diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f9a59a7..905c8372 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,10 @@ jobs: - name: Print build information run: "echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}" - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3.0.0 + uses: actions/setup-go@v3 with: go-version-file: "go.mod" check-latest: true diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index ef05f2ff..105b91bb 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -14,9 +14,10 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3.0.0 + uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: "go.mod" + check-latest: true - name: Get build date id: date