Skip to content

Commit

Permalink
chore(ci): update actions/checkout to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Dec 22, 2022
1 parent 5187f02 commit 6c37611
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release_body: ${{ steps.release.outputs.release_body }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Generate a changelog
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
TARGET: x86_64-apple-darwin
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set the release version
shell: bash
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set the release version
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
- name: Install Rust toolchain
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
profile: minimal
override: true
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check
uses: actions-rs/cargo@v1
with:
Expand All @@ -41,12 +41,12 @@ jobs:
override: true
- name: Checkout
if: github.event_name != 'pull_request'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout
if: github.event_name == 'pull_request'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
components: clippy
override: true
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check the lints
uses: actions-rs/cargo@v1
with:
Expand All @@ -98,7 +98,7 @@ jobs:
components: rustfmt
override: true
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check the formatting
uses: actions-rs/cargo@v1
with:
Expand All @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check the links
uses: lycheeverse/lychee-action@v1
with:
Expand All @@ -123,7 +123,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run cargo-audit
uses: actions-rs/audit-check@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Docker meta
id: meta
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ While `git-cliff-action` uses the Docker image generated by [docker.yml](https:/

```yml
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up git-cliff
uses: kenji-miyake/setup-git-cliff@v1
Expand Down

0 comments on commit 6c37611

Please sign in to comment.