Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# The workflows pin actions to a moving major tag, which only advances
# when someone goes looking. Dependabot opens the pull request instead,
# so a new major is a decision to take rather than a discovery to make.

version: 2

updates:
- package-ecosystem: "github-actions"
# For Actions this is the documented value rather than a literal
# path: Dependabot searches `.github/workflows` and a root
# `action.yml`.
directory: "/"
schedule:
interval: "monthly"
commit-message:
# Dependabot appends the colon, giving `CI: bump ...`, which is
# the subject convention for infrastructure changes here.
prefix: "CI"
groups:
# Minor and patch updates need no migration, so they travel
# together. Major updates deliberately match no group: each one
# gets its own pull request, and can be reviewed, held back or
# reverted without disturbing the others.
actions-minor-and-patch:
patterns:
- "*"
update-types:
- "minor"
- "patch"
4 changes: 2 additions & 2 deletions .github/workflows/code-projects-type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
python-version: ['3.14']

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install pyright
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -43,7 +43,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -57,4 +57,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
4 changes: 2 additions & 2 deletions .github/workflows/eslint.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
node-version: [24.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-learn-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,31 @@ jobs:
echo "content_run_id=$content_run_id" >> $GITHUB_OUTPUT

- name: Download HTML artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: learn-html
path: unzipped_html
run-id: ${{ steps.lookup.outputs.content_run_id }}
github-token: ${{ secrets.LEARN_READ_TOKEN }}

- name: Download PDF books artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: learn-pdf-books
path: unzipped_pdf_books
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.LEARN_READ_TOKEN }}

- name: Download EPUB books artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: learn-epub-books
path: unzipped_epub_books
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.LEARN_READ_TOKEN }}

- name: Checkout learn-latest-html-pages
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: AdaCore/learn-latest-html-pages
ref: gh-pages
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sphinx-books-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
node-version: [24.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Build PDF books including build/runtime output
run: make HIDDEN_BOOKS="" HIDDEN_CONTENTS="" pdf_books
- name: Archive PDF books in artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: learn-pdf-books
path: |
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Build EPUB books including build/runtime output
run: make HIDDEN_BOOKS="" HIDDEN_CONTENTS="" epub_books
- name: Archive EPUB books in artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: learn-epub-books
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sphinx-content-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
node-version: [24.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Build HTML content
run: make HIDDEN_BOOKS="" HIDDEN_CONTENTS="" cleanall webpack-production sphinx-production
- name: Archive HTML content in artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: learn-html
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sphinx-plugin-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
python-version: ['3.14']

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install OS Deps
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/typescript-tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
node-version: [24.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vagrantfile-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-26.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Check Ruby syntax
run: ruby -c Vagrantfile
Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-26.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# Ubuntu's archive carries no `vagrant` package, so the release is
# fetched from HashiCorp and pinned, the way the box version is.
Expand Down
Loading