diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 555e641bf6..9964a49e0f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # required for correct codecov upload fetch-depth: 0 @@ -88,7 +88,7 @@ jobs: type: [ ktlint, cli ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Retrieve Ktlint version if: matrix.type == 'ktlint' @@ -235,7 +235,7 @@ jobs: statuses: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # required for correct codecov upload fetch-depth: 0 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0ca1abf585..e9269ff8c6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 03d01a3bbb..15c73e4905 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -18,7 +18,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Fetch Git tags, so that semantic version can be calculated. # Alternatively, run `git fetch --prune --unshallow --tags` as the diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index d43c342a6e..a903f3f918 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -13,7 +13,7 @@ jobs: security-events: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 11 uses: actions/setup-java@v3 with: diff --git a/.github/workflows/diktat_snapshot.yml b/.github/workflows/diktat_snapshot.yml index 3e6bf8c3d7..b9cba9108b 100644 --- a/.github/workflows/diktat_snapshot.yml +++ b/.github/workflows/diktat_snapshot.yml @@ -15,7 +15,7 @@ jobs: security-events: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Fetch Git tags, so that semantic version can be calculated. # Alternatively, run `git fetch --prune --unshallow --tags` as the diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95249e06f2..187d4d4bbe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 11 uses: actions/setup-java@v3 with: