diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 96128aa8..5cc086f9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bc0be7a..f718593e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f0bae5ca..ee6a1f4a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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 diff --git a/README.md b/README.md index da352bf7..f16fe828 100644 --- a/README.md +++ b/README.md @@ -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