Skip to content

Commit 5ef3da5

Browse files
committed
Update actions, pin SHA, group dependabot
1 parent 1ba8629 commit 5ef3da5

5 files changed

Lines changed: 25 additions & 21 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ updates:
66
directory: /
77
schedule:
88
interval: quarterly
9+
groups:
10+
github-actions:
11+
patterns:
12+
- "*"

.github/workflows/build-fmus.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
arch: aarch64
3434
runs-on: ${{ matrix.image }}
3535
steps:
36-
- uses: actions/checkout@v7
36+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3737

3838
- name: Configure CMake
3939
run: cmake -B build/cmake -DFMI_ARCHITECTURE=${{ matrix.arch }} reference-FMUs
4040

4141
- name: Build
4242
run: cmake --build build/cmake --config Release
4343

44-
- uses: actions/upload-artifact@v7
44+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4545
with:
4646
name: ${{ matrix.name }}
4747
path: build/cmake/fmus
@@ -51,37 +51,37 @@ jobs:
5151
runs-on: ubuntu-latest
5252
needs: [build]
5353
steps:
54-
- uses: actions/checkout@v7
54+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5555

56-
- uses: actions/download-artifact@v8
56+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5757
with:
5858
name: aarch64-windows
5959
path: dist-aarch64-windows
60-
- uses: actions/download-artifact@v8
60+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6161
with:
6262
name: x86_64-windows
6363
path: dist-x86_64-windows
64-
- uses: actions/download-artifact@v8
64+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6565
with:
6666
name: x86_64-linux
6767
path: dist-x86_64-linux
68-
- uses: actions/download-artifact@v8
68+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6969
with:
7070
name: aarch64-linux
7171
path: dist-aarch64-linux
72-
- uses: actions/download-artifact@v8
72+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7373
with:
7474
name: x86_64-darwin
7575
path: dist-x86_64-darwin
76-
- uses: actions/download-artifact@v8
76+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
7777
with:
7878
name: aarch64-darwin
7979
path: dist-aarch64-darwin
8080

8181
- name: Merge platform FMUs
8282
run: python3 .ci/reference-FMUs/merge_fmus.py
8383

84-
- uses: actions/upload-artifact@v7
84+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8585
with:
8686
name: FMI-LS-DAE-FMUs
8787
path: dist-merged/*.fmu
@@ -97,13 +97,13 @@ jobs:
9797
runs-on: ${{ matrix.image }}
9898
needs: [merge-fmus]
9999
steps:
100-
- uses: actions/checkout@v7
100+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
101101

102-
- uses: actions/setup-python@v5
102+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
103103
with:
104104
python-version: '3.x'
105105

106-
- uses: actions/download-artifact@v8
106+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
107107
with:
108108
name: FMI-LS-DAE-FMUs
109109
path: fmus

.github/workflows/build-ls-dae.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: checkout
17-
uses: actions/checkout@v7
17+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1818
with:
1919
submodules: recursive
2020

@@ -32,7 +32,7 @@ jobs:
3232
mkdir -p build/schema
3333
3434
- name: Build HTML
35-
uses: avattathil/asciidoctor-action@v2
35+
uses: avattathil/asciidoctor-action@755dc03a42aee715c3705fc31d2ca106b7ee90fd # v2
3636
with:
3737
program: "asciidoctor --destination-dir=build --attribute=revnumber=${{ env.REVNUMBER }} --attribute=revdate=$(date +%F) --failure-level=WARN --backend=html5 --verbose docs/index.adoc"
3838

@@ -59,7 +59,7 @@ jobs:
5959
cp -r docs/theme/ build/theme
6060
6161
- name: Archive layered standard DAE
62-
uses: actions/upload-artifact@v7
62+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6363
with:
6464
name: FMI-LS-DAE
6565
path: build/*
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Deploy
7474
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
75-
uses: peaceiris/actions-gh-pages@v4
75+
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
7676
with:
7777
github_token: ${{ secrets.GITHUB_TOKEN }}
7878
publish_dir: build

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
pre-commit:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v7
14-
- uses: actions/setup-python@v6
13+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
14+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
1515
with:
1616
python-version: '3.x'
17-
- uses: pre-commit/action@v3.0.1
17+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/validate-xml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v7
21+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2222

2323
- name: Install xmllint
2424
run: sudo apt-get install -y --no-install-recommends libxml2-utils

0 commit comments

Comments
 (0)