mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-15 20:15:31 +00:00
chore(ci): bump GitHub Actions to Node.js 24-compatible versions
Bumps actions across all template and repo workflows to avoid the Node.js 20 deprecation (enforced June 2026): - actions/checkout v3/v4 → v6 - actions/cache v4 → v5 - actions/setup-go v5 → v6 - actions/setup-python v4/v5 → v6 - peter-evans/create-pull-request v5/v6 → v7
This commit is contained in:
1 parent
ec5aca1fdb
commit
26e1f775a2
26 files changed
+63
-63
No files matched your search
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
@@ -31,17 +31,17 @@ jobs:
|
|||||||
PYTHON_VERSION: '3.13'
|
PYTHON_VERSION: '3.13'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repo
|
- name: Checkout the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Only need recent history for publication import
|
# Only need recent history for publication import
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Set up Python 3.13
|
- name: Set up Python 3.13
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.13'
|
python-version: '3.13'
|
||||||
- name: Setup pip cache
|
- name: Setup pip cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-academic-${{ env.ACADEMIC_VERSION }}
|
key: ${{ runner.os }}-pip-academic-${{ env.ACADEMIC_VERSION }}
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
# Set ID for `Check outputs` stage
|
# Set ID for `Check outputs` stage
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
commit-message: 'feat(publications): import latest publications from bibtex'
|
commit-message: 'feat(publications): import latest publications from bibtex'
|
||||||
title: 'HugoBlox Kit - Import latest publications from Bibtex'
|
title: 'HugoBlox Kit - Import latest publications from Bibtex'
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repo
|
- name: Checkout the repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
- name: Set up Python 3.12
|
- name: Set up Python 3.12
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
# Set ID for `Check outputs` stage
|
# Set ID for `Check outputs` stage
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
commit-message: 'content: import blog posts from `notebooks/` folder'
|
commit-message: 'content: import blog posts from `notebooks/` folder'
|
||||||
title: HugoBlox Kit - Import latest blog posts
|
title: HugoBlox Kit - Import latest blog posts
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
+3
-3
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
+3
-3
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
artifact-id: ${{ steps.upload.outputs.artifact-id }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
# Cache dependencies (Go modules, node_modules) - stable, rarely changes
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/tmp/hugo_cache_runner/
|
/tmp/hugo_cache_runner/
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugo-deps-
|
${{ runner.os }}-hugo-deps-
|
||||||
|
|
||||||
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
# Cache Hugo resources (processed images, CSS) - invalidates only when assets/config change
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: resources/
|
path: resources/
|
||||||
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
key: ${{ runner.os }}-hugo-resources-${{ hashFiles('assets/**/*', 'config/**/*',
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
deploy-host: ${{ steps.check.outputs.host }}
|
deploy-host: ${{ steps.check.outputs.host }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
sparse-checkout: hugoblox.yaml
|
sparse-checkout: hugoblox.yaml
|
||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "chore(deps): upgrade hugoblox modules"
|
commit-message: "chore(deps): upgrade hugoblox modules"
|
||||||
|
|||||||
Reference in new issue
Block a user