Skip to content

Commit 84c7f3c

Browse files
committed
ci: update GitHub Actions to latest versions
Bump versions in all workflow files for improved reliability and security. - actions/checkout to v6, - actions/upload-artifact to v7, - tj-actions/changed-files to v47, and - EndBug/add-and-commit to v10
1 parent 466ad74 commit 84c7f3c

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
contents: write
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0
1616
fetch-tags: true
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build PDF with PDF/UA-1
2424
run: typst compile --pdf-standard ua-1 undergradmath.typ
2525
- name: Upload PDF as artifact
26-
uses: actions/upload-artifact@v4
26+
uses: actions/upload-artifact@v7
2727
with:
2828
name: Undergradmath
2929
path: undergradmath.pdf

.github/workflows/tag.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
version: ${{ steps.output-version.outputs.version }}
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919
fetch-tags: true
@@ -30,7 +30,7 @@ jobs:
3030
git rev-list -n 1 "tags/${{ steps.check-tag.outputs.previous_tag }}" >> $GITHUB_OUTPUT
3131
- name: Check changed files
3232
id: changed-files
33-
uses: tj-actions/changed-files@v46
33+
uses: tj-actions/changed-files@v47
3434
with:
3535
base_sha: ${{ steps.get-base.outputs.base }}
3636
- name: Output the version
@@ -52,7 +52,7 @@ jobs:
5252
contents: write
5353
steps:
5454
- name: Checkout
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656
with:
5757
fetch-depth: 0
5858
fetch-tags: true
@@ -67,7 +67,7 @@ jobs:
6767
git cliff -vv -t ${{ needs.check-version.outputs.version }} -o CHANGELOG.md
6868
- name: Add changelog and commit
6969
id: add-changelog
70-
uses: EndBug/add-and-commit@v9
70+
uses: EndBug/add-and-commit@v10
7171
with:
7272
add: 'CHANGELOG.md'
7373
author_name: github-actions[bot]

.github/workflows/watch.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
modified: ${{ contains(steps.changed-files.outputs.modified_files, 'undergradmath.typ') }}
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515
- name: Check changed files
1616
id: changed-files
17-
uses: tj-actions/changed-files@v46
17+
uses: tj-actions/changed-files@v47
1818
- name: List all modified files
1919
run: |
2020
echo "List all the files that have been modified: ${{ steps.changed-files.outputs.modified_files }}"
@@ -24,7 +24,7 @@ jobs:
2424
if: needs.check-changed.outputs.modified == 'true'
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2828
- name: Update Homebrew
2929
run: brew update
3030
- name: Install Typst
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build PDF with PDF/UA-1
3535
run: typst compile --pdf-standard ua-1 undergradmath.typ
3636
- name: Upload PDF as artifact
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v7
3838
with:
3939
name: Undergradmath
4040
path: undergradmath.pdf

0 commit comments

Comments
 (0)