Skip to content

Commit

Permalink
Merge pull request #48 from kmdkuk/renovate/actions-checkout-4.x
Browse files Browse the repository at this point in the history
Update actions/checkout action to v4
  • Loading branch information
kmdkuk committed Nov 19, 2023
2 parents c1610a3 + b71a7f0 commit 5b3b0ad
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mdbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Build book
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make book
- uses: actions/upload-artifact@v3
with:
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
- uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mdbook_close_preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
shell: bash
run: echo "::set-output name=branch::$(REF=${GITHUB_HEAD_REF:-$GITHUB_REF} && echo ${REF#refs/heads/} | sed 's/\//-/g')"
id: extract_branch
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
- run: rm -rf _preview/${{ steps.extract_branch.outputs.branch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mdbook_preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
shell: bash
run: echo "::set-output name=branch::$(REF=${GITHUB_HEAD_REF:-$GITHUB_REF} && echo ${REF#refs/heads/} | sed 's/\//-/g')"
id: extract_branch
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make book
- uses: actions/upload-artifact@v3
with:
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-22.04
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
- run: rm -rf _preview/${{ needs.build.outputs.branch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_and_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
go-version: ${{ env.go-version }}
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: build
run: make build
test:
Expand All @@ -43,7 +43,7 @@ jobs:
with:
go-version: ${{ env.go-version }}
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Ensure go.mod is already tidied
run: go mod tidy && git diff -s --exit-code go.sum
- name: test
Expand Down

0 comments on commit 5b3b0ad

Please sign in to comment.