From 5b7a9f8ae54e16fe74b141e0cd16a8aa366217c4 Mon Sep 17 00:00:00 2001 From: XZTDean Date: Mon, 15 Dec 2025 06:34:21 -0800 Subject: [PATCH] docs: Update other actions in examples to the latest version --- README.md | 10 +++++----- caching-strategies.md | 8 ++++---- examples.md | 2 +- restore/README.md | 8 ++++---- save/README.md | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 24b8b22..6cb71e7 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Cache Primes id: cache-primes @@ -154,7 +154,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Restore cached Primes id: cache-primes-restore @@ -262,7 +262,7 @@ Example: ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache@v5 id: cache @@ -292,7 +292,7 @@ jobs: build-linux: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Cache Primes id: cache-primes @@ -319,7 +319,7 @@ jobs: build-windows: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Cache Primes id: cache-primes diff --git a/caching-strategies.md b/caching-strategies.md index 5bfca9e..aaf2b8c 100644 --- a/caching-strategies.md +++ b/caching-strategies.md @@ -146,7 +146,7 @@ In case you are using a centralized job to create and save your cache that can b ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache/restore@v5 id: cache @@ -171,7 +171,7 @@ You can use the output of this action to exit the workflow on cache miss. This w ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache/restore@v5 id: cache @@ -253,7 +253,7 @@ In case of multi-module projects, where the built artifact of one project needs ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build run: ./build-parent-module.sh @@ -269,7 +269,7 @@ steps: ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache/restore@v5 id: cache diff --git a/examples.md b/examples.md index acd95c7..c93c614 100644 --- a/examples.md +++ b/examples.md @@ -553,7 +553,7 @@ jobs: - name: Set up Python # The actions/cache step below uses this id to get the exact python version id: setup-python - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 ⋮ diff --git a/restore/README.md b/restore/README.md index 935f7f9..c46fe3c 100644 --- a/restore/README.md +++ b/restore/README.md @@ -35,7 +35,7 @@ If you are using separate jobs to create and save your cache(s) to be reused by ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache/restore@v5 id: cache @@ -64,7 +64,7 @@ In case of multi-module projects, where the built artifact of one project needs ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build run: /build-parent-module.sh @@ -80,7 +80,7 @@ steps: ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache/restore@v5 id: cache @@ -107,7 +107,7 @@ To fail if there is no cache hit for the primary key, leave `restore-keys` empty ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: actions/cache/restore@v5 id: cache diff --git a/save/README.md b/save/README.md index 4d3a5f4..d5352fd 100644 --- a/save/README.md +++ b/save/README.md @@ -23,7 +23,7 @@ If you are using separate jobs for generating common artifacts and sharing them ```yaml steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install Dependencies run: /install.sh @@ -91,7 +91,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Restore cached Prime Numbers id: cache-prime-numbers-restore