1
1
mirror of https://github.com/orhun/git-cliff.git synced 2025-01-05 23:15:53 +03:00

chore(ci): update actions/checkout to v3

This commit is contained in:
Orhun Parmaksız 2022-12-22 15:56:03 +03:00
parent 5187f029ec
commit 6c37611e16
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
4 changed files with 12 additions and 12 deletions

View File

@ -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
@ -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
@ -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

View File

@ -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:
@ -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
@ -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:
@ -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:
@ -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:
@ -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:

View File

@ -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

View File

@ -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