Skip to content

Commit

Permalink
Merge pull request #9429 from yyforyongyu/update-action
Browse files Browse the repository at this point in the history
.github: update actions versions
  • Loading branch information
guggero authored Jan 20, 2025
2 parents baa3b0d + 2960395 commit 1f20bd3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ runs:

steps:
- name: setup go ${{ inputs.go-version }}
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '${{ inputs.go-version }}'

- name: go module and build cache
- name: go cache
if: ${{ inputs.use-build-cache == 'yes' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
# In order:
# * Module download cache
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
Expand All @@ -74,7 +74,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -131,7 +131,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
Expand All @@ -197,7 +197,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -239,7 +239,7 @@ jobs:
uses: ./.github/actions/rebase

- name: git checkout fuzzing seeds
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: lightninglabs/lnd-fuzz
path: lnd-fuzz
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
args: backend=bitcoind dbbackend=postgres nativesql=true
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -455,7 +455,7 @@ jobs:
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -504,7 +504,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: ensure dependencies at correct version
run: if ! grep -q "${{ matrix.pinned_dep }}" go.mod; then echo dependency ${{ matrix.pinned_dep }} should not be altered ; exit 1 ; fi
Expand All @@ -521,7 +521,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache

- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: release notes check
run: scripts/check-release-notes.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'

Expand Down

0 comments on commit 1f20bd3

Please sign in to comment.