diff --git a/CHANGELOG.md b/CHANGELOG.md index 519dcd4..86ae836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.2.22 2024/03/14 - Update to `actions/cache@v4` +- Update to `actions/checkout@v4` ## 0.2.21 2024/03/11 diff --git a/docs/defaults.md b/docs/defaults.md index 2b24a45..4ec9b47 100644 --- a/docs/defaults.md +++ b/docs/defaults.md @@ -242,7 +242,7 @@ defmodule GitHubActions.Default do defp checkout do [ name: "Checkout", - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" ] end diff --git a/lib/git_hub_actions/workflow.ex b/lib/git_hub_actions/workflow.ex index 4e86251..616a5f7 100644 --- a/lib/git_hub_actions/workflow.ex +++ b/lib/git_hub_actions/workflow.ex @@ -92,7 +92,7 @@ defmodule GitHubActions.Workflow do defp checkout do [ name: "Checkout", - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" ] end diff --git a/priv/default.exs b/priv/default.exs index fb89048..048514c 100644 --- a/priv/default.exs +++ b/priv/default.exs @@ -92,7 +92,7 @@ defmodule GitHubActions.Default do defp checkout do [ name: "Checkout", - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" ] end diff --git a/test/fixtures/default.yml b/test/fixtures/default.yml index fc85fe2..ee49186 100644 --- a/test/fixtures/default.yml +++ b/test/fixtures/default.yml @@ -58,7 +58,7 @@ jobs: otp: '23.3' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Elixir uses: erlef/setup-beam@v1 with: diff --git a/test/fixtures/global_default.yml b/test/fixtures/global_default.yml index fc85fe2..ee49186 100644 --- a/test/fixtures/global_default.yml +++ b/test/fixtures/global_default.yml @@ -58,7 +58,7 @@ jobs: otp: '23.3' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Elixir uses: erlef/setup-beam@v1 with: diff --git a/test/fixtures/macos.yml b/test/fixtures/macos.yml index d1d3437..0c57450 100644 --- a/test/fixtures/macos.yml +++ b/test/fixtures/macos.yml @@ -10,7 +10,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Elixir run: brew install elixir - name: Install hex diff --git a/test/fixtures/no_comment.yml b/test/fixtures/no_comment.yml index 98e89bc..d8895d2 100644 --- a/test/fixtures/no_comment.yml +++ b/test/fixtures/no_comment.yml @@ -57,7 +57,7 @@ jobs: otp: '23.3' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Elixir uses: erlef/setup-beam@v1 with: diff --git a/test/fixtures/opt_output.yml b/test/fixtures/opt_output.yml index fc85fe2..ee49186 100644 --- a/test/fixtures/opt_output.yml +++ b/test/fixtures/opt_output.yml @@ -58,7 +58,7 @@ jobs: otp: '23.3' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Elixir uses: erlef/setup-beam@v1 with: diff --git a/test/fixtures/windows.yml b/test/fixtures/windows.yml index 638a7d9..8d22411 100644 --- a/test/fixtures/windows.yml +++ b/test/fixtures/windows.yml @@ -10,7 +10,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Elixir uses: erlef/setup-beam@v1 with: diff --git a/test/fixtures/workflow_steps.exs b/test/fixtures/workflow_steps.exs index 064cf6b..5d92bf7 100644 --- a/test/fixtures/workflow_steps.exs +++ b/test/fixtures/workflow_steps.exs @@ -31,7 +31,7 @@ defmodule Test.WorkflowSteps do defp checkout do [ name: "Checkout", - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" ] end diff --git a/test/git_hub_actions/workflow_test.exs b/test/git_hub_actions/workflow_test.exs index d8a46c8..07f82d9 100644 --- a/test/git_hub_actions/workflow_test.exs +++ b/test/git_hub_actions/workflow_test.exs @@ -96,7 +96,7 @@ defmodule GitHubActions.WorkflowTest do """, "runs-on": "ubuntu-20.04", steps: [ - [name: "Checkout", uses: "actions/checkout@v3"] + [name: "Checkout", uses: "actions/checkout@v4"] ] ] ] @@ -143,7 +143,7 @@ defmodule GitHubActions.WorkflowTest do steps: [ [ name: "Checkout", - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" ], [ name: "Setup Elixir",