From 0ad65d395d63f05de81bffac817531bdac452015 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Wed, 21 Aug 2024 14:49:04 +0800 Subject: [PATCH] workflows: update actions versions --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 122835bdfc..2ee9cc5ee1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ env: GOPATH: /home/runner/work/go GO111MODULE: on - GO_VERSION: 1.19.x + GO_VERSION: 1.22.x BITCOIND_VERSION: '22.0' BITCOIND_IMAGE: 'lightninglabs/bitcoin-core' @@ -31,10 +31,10 @@ jobs: runs-on: ubuntu-latest steps: - name: git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: setup go ${{ env.GO_VERSION }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: '${{ env.GO_VERSION }}' @@ -69,10 +69,10 @@ jobs: docker rm $CONTAINER_ID - name: git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: go cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: /home/runner/work/go key: btcwallet-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ github.job }}-${{ hashFiles('**/go.sum') }} @@ -83,7 +83,7 @@ jobs: btcwallet-${{ runner.os }}-go- - name: setup go ${{ env.GO_VERSION }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: '${{ env.GO_VERSION }}'