diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52ffe29c1..c940651dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false steps: - name: Checkout current branch - uses: actions/checkout@v3.0.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: 0 - name: Setup Scala and Java @@ -40,7 +40,7 @@ jobs: java: ['adopt@1.8', 'adopt@1.11'] scala: ['2.12.17', '2.13.8', '3.2.1'] steps: - - uses: actions/checkout@v3.0.0 + - uses: actions/checkout@v4.0.0 with: fetch-depth: 0 - uses: olafurpg/setup-scala@v13 @@ -57,7 +57,7 @@ jobs: needs: [build,lint] if: github.event_name != 'pull_request' steps: - - uses: actions/checkout@v3.0.0 + - uses: actions/checkout@v4.0.0 with: fetch-depth: 0 - uses: olafurpg/setup-scala@v13 diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 48132cf72..3603497e9 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -18,7 +18,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} steps: - name: Git Checkout - uses: actions/checkout@v3.3.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Setup Scala @@ -41,7 +41,7 @@ jobs: if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }} steps: - name: Git Checkout - uses: actions/checkout@v3.3.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: '0' - name: Setup Scala @@ -65,7 +65,7 @@ jobs: if: ${{ (github.event_name == 'push') || ((github.event_name == 'release') && (github.event.action == 'published')) }} steps: - name: Git Checkout - uses: actions/checkout@v3.3.0 + uses: actions/checkout@v4.0.0 with: ref: ${{ github.head_ref }} fetch-depth: '0'