Skip to content

Commit d1e1a9a

Browse files
authored
Merge pull request #982 from rimvydascivilis/update-actions
[CI] Update GitHub actions
2 parents 01a0a69 + 8548e3b commit d1e1a9a

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ jobs:
2626
# Pin action version by commit hash to maximize trust, ref: https://securitylab.github.com/research/github-actions-building-blocks/
2727
steps:
2828
- name: Checkout floss
29-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
29+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3030
with:
3131
submodules: false
3232
# using Python 3.8 to support running across multiple operating systems including Windows 7
3333
- name: Set up Python 3.8
34-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
34+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
3535
with:
3636
python-version: '3.8'
3737
- name: Install floss [build]
3838
run: pip install -e .[build]
3939
- name: Build standalone executable
4040
run: pyinstaller .github/pyinstaller/floss.spec
41-
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
41+
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
4242
with:
4343
name: ${{ matrix.asset_name }}
4444
path: dist/${{ matrix.artifact_name }}
@@ -67,11 +67,11 @@ jobs:
6767
asset_name: macos
6868
steps:
6969
- name: Download ${{ matrix.asset_name }}
70-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
70+
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
7171
with:
7272
name: ${{ matrix.asset_name }}
7373
- name: Checkout testfiles
74-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
74+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
7575
with:
7676
repository: mandiant/flare-floss-testfiles
7777
path: tests/data
@@ -100,7 +100,7 @@ jobs:
100100
artifact_name: floss
101101
steps:
102102
- name: Download ${{ matrix.asset_name }}
103-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
103+
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
104104
with:
105105
name: ${{ matrix.asset_name }}
106106
- name: Set executable flag
@@ -110,7 +110,7 @@ jobs:
110110
- name: Zip ${{ matrix.artifact_name }} into ${{ env.zip_name }}
111111
run: zip ${{ env.zip_name }} ${{ matrix.artifact_name }}
112112
- name: Upload ${{ env.zip_name }} to GH Release
113-
uses: svenstaro/upload-release-action@v2
113+
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0
114114
with:
115115
repo_token: ${{ secrets.GITHUB_TOKEN }}
116116
file: ${{ env.zip_name }}

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
permissions:
1818
id-token: write
1919
steps:
20-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
20+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2121
- name: Set up Python
22-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
22+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
2323
with:
2424
python-version: '3.8'
2525
- name: Install dependencies
@@ -30,11 +30,11 @@ jobs:
3030
run: |
3131
python -m build
3232
- name: upload package artifacts
33-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
33+
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
3434
with:
3535
path: dist/*
3636
- name: publish package
37-
uses: pypa/gh-action-pypi-publish@f5622bde02b04381239da3573277701ceca8f6a0 # release/v1
37+
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
3838
with:
3939
skip-existing: true
4040
verbose: true

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
# Pin action version by commit hash to maximize trust, ref: https://securitylab.github.com/research/github-actions-building-blocks/
1717
steps:
1818
- name: Checkout FLOSS
19-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
19+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2020
- name: Set up Python 3.8
21-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
21+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
2222
with:
2323
python-version: '3.8'
2424
- name: Install dependencies
@@ -48,11 +48,11 @@ jobs:
4848
python-version: '3.10'
4949
steps:
5050
- name: Checkout FLOSS with submodule
51-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
51+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5252
with:
5353
submodules: true
5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
55+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858
- name: Install pyyaml

0 commit comments

Comments
 (0)