diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b031c88..2ac1362 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: disk-root: 'C:' - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -114,7 +114,7 @@ jobs: disk-root: 'C:' - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/main/scala/sbtghactions/WorkflowStep.scala b/src/main/scala/sbtghactions/WorkflowStep.scala index 8a84448..4f830e8 100644 --- a/src/main/scala/sbtghactions/WorkflowStep.scala +++ b/src/main/scala/sbtghactions/WorkflowStep.scala @@ -29,7 +29,7 @@ sealed trait WorkflowStep extends Product with Serializable { } object Action { - val checkout = UseRef.Public("actions", "checkout", "v6") + val checkout = UseRef.Public("actions", "checkout", "v7") val setupGraalvm = UseRef.Public("graalvm", "setup-graalvm", "v1") val setupJava = UseRef.Public("actions", "setup-java", "v5") val setupSbt = UseRef.Public("sbt", "setup-sbt", "v1") diff --git a/src/sbt-test/sbtghactions/allow-hashes/.github/workflows/ci.yml b/src/sbt-test/sbtghactions/allow-hashes/.github/workflows/ci.yml index fc52f0a..7b03520 100644 --- a/src/sbt-test/sbtghactions/allow-hashes/.github/workflows/ci.yml +++ b/src/sbt-test/sbtghactions/allow-hashes/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/sbt-test/sbtghactions/check-and-regenerate/expected-ci.yml b/src/sbt-test/sbtghactions/check-and-regenerate/expected-ci.yml index 0b47aa4..d7c0beb 100644 --- a/src/sbt-test/sbtghactions/check-and-regenerate/expected-ci.yml +++ b/src/sbt-test/sbtghactions/check-and-regenerate/expected-ci.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -93,7 +93,7 @@ jobs: steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/sbt-test/sbtghactions/githubworkflowoses-clean-publish/.github/workflows/ci.yml b/src/sbt-test/sbtghactions/githubworkflowoses-clean-publish/.github/workflows/ci.yml index 88578ee..83695de 100644 --- a/src/sbt-test/sbtghactions/githubworkflowoses-clean-publish/.github/workflows/ci.yml +++ b/src/sbt-test/sbtghactions/githubworkflowoses-clean-publish/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: disk-root: 'C:' - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -98,7 +98,7 @@ jobs: disk-root: 'C:' - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/sbt-test/sbtghactions/no-clean/.github/workflows/ci.yml b/src/sbt-test/sbtghactions/no-clean/.github/workflows/ci.yml index f9cc212..6a95962 100644 --- a/src/sbt-test/sbtghactions/no-clean/.github/workflows/ci.yml +++ b/src/sbt-test/sbtghactions/no-clean/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -69,7 +69,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/sbt-test/sbtghactions/non-existent-target/.github/workflows/ci.yml b/src/sbt-test/sbtghactions/non-existent-target/.github/workflows/ci.yml index a657944..088c137 100644 --- a/src/sbt-test/sbtghactions/non-existent-target/.github/workflows/ci.yml +++ b/src/sbt-test/sbtghactions/non-existent-target/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -68,7 +68,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/sbt-test/sbtghactions/sbt-native-thin-client/.github/workflows/ci.yml b/src/sbt-test/sbtghactions/sbt-native-thin-client/.github/workflows/ci.yml index 197909d..27e8f70 100644 --- a/src/sbt-test/sbtghactions/sbt-native-thin-client/.github/workflows/ci.yml +++ b/src/sbt-test/sbtghactions/sbt-native-thin-client/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -85,7 +85,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/sbt-test/sbtghactions/suppressed-scala-version/expected-ci.yml b/src/sbt-test/sbtghactions/suppressed-scala-version/expected-ci.yml index d8c09be..5e8191a 100644 --- a/src/sbt-test/sbtghactions/suppressed-scala-version/expected-ci.yml +++ b/src/sbt-test/sbtghactions/suppressed-scala-version/expected-ci.yml @@ -28,7 +28,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -70,7 +70,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 diff --git a/src/test/scala/sbtghactions/GenerativePluginSpec.scala b/src/test/scala/sbtghactions/GenerativePluginSpec.scala index 421c9aa..f2fc9c6 100644 --- a/src/test/scala/sbtghactions/GenerativePluginSpec.scala +++ b/src/test/scala/sbtghactions/GenerativePluginSpec.scala @@ -567,7 +567,7 @@ class GenerativePluginSpec extends Specification { - run: echo hello - name: Checkout current branch (fast) - uses: actions/checkout@v6""" + uses: actions/checkout@v7""" } "compile a job with one step and three oses" in { @@ -828,7 +828,7 @@ class GenerativePluginSpec extends Specification { - run: echo $${{ matrix.test }} - name: Checkout current branch (fast) - uses: actions/checkout@v6""" + uses: actions/checkout@v7""" } "compile a job with extra runs-on labels" in { @@ -1051,7 +1051,7 @@ class GenerativePluginSpec extends Specification { - run: echo hello - name: Checkout current branch (fast) - uses: actions/checkout@v6""" + uses: actions/checkout@v7""" } }