Skip to content

Commit 8a42542

Browse files
authored
ci(workflows): Upgrade deprecated actions (#299)
1 parent eaf1200 commit 8a42542

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/master.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: windows-latest
1919
steps:
2020
- name: Install Go
21-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version: ${{ env.GO_VERSION }}
2424
- name: Checkout
@@ -41,7 +41,7 @@ jobs:
4141
libtool
4242
autoconf
4343
- name: Cache yara
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
id: cache
4646
with:
4747
path: |
@@ -80,7 +80,7 @@ jobs:
8080
./make.bat
8181
env:
8282
TAGS: kcap,filament,yara,yara_static
83-
- uses: actions/upload-artifact@v2
83+
- uses: actions/upload-artifact@v4
8484
with:
8585
name: "fibratus-amd64.exe"
8686
path: "./cmd/fibratus/fibratus.exe"
@@ -93,7 +93,7 @@ jobs:
9393
run: |
9494
export VERSION=0.0.0
9595
./make.bat pkg
96-
- uses: actions/upload-artifact@v3
96+
- uses: actions/upload-artifact@v4
9797
with:
9898
name: "fibratus-amd64.msi"
9999
path: "./build/msi/fibratus-0.0.0-amd64.msi"
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: windows-latest
103103
steps:
104104
- name: Install Go
105-
uses: actions/setup-go@v4
105+
uses: actions/setup-go@v5
106106
with:
107107
go-version: ${{ env.GO_VERSION }}
108108
- name: Checkout
@@ -112,7 +112,7 @@ jobs:
112112
run: |
113113
export COMMIT=$(echo $GITHUB_SHA | cut -c1-8)
114114
./make.bat
115-
- uses: actions/upload-artifact@v3
115+
- uses: actions/upload-artifact@v4
116116
with:
117117
name: "fibratus-amd64-slim.exe"
118118
path: "./cmd/fibratus/fibratus.exe"
@@ -131,7 +131,7 @@ jobs:
131131
run: |
132132
sed -i 's/C:\/Python37/C:\/hostedtoolcache\/windows\/Python\/3.7.9\/x64/' pkg-config/python-37.pc
133133
- name: Install Go
134-
uses: actions/setup-go@v4
134+
uses: actions/setup-go@v5
135135
with:
136136
go-version: ${{ env.GO_VERSION }}
137137
- name: Setup msys2
@@ -147,7 +147,7 @@ jobs:
147147
libtool
148148
autoconf
149149
- name: Cache yara
150-
uses: actions/cache@v3
150+
uses: actions/cache@v4
151151
id: cache
152152
with:
153153
path: |
@@ -181,7 +181,7 @@ jobs:
181181
run: |
182182
sed -i 's/C:\/Python37/C:\/hostedtoolcache\/windows\/Python\/3.7.9\/x64/' pkg-config/python-37.pc
183183
- name: Install Go
184-
uses: actions/setup-go@v4
184+
uses: actions/setup-go@v5
185185
with:
186186
go-version: ${{ env.GO_VERSION }}
187187
- name: Setup msys2
@@ -197,7 +197,7 @@ jobs:
197197
libtool
198198
autoconf
199199
- name: Cache yara
200-
uses: actions/cache@v3
200+
uses: actions/cache@v4
201201
id: cache
202202
with:
203203
path: |

.github/workflows/pr.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: windows-latest
1717
steps:
1818
- name: Install Go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@v5
2020
with:
2121
go-version: ${{ env.GO_VERSION }}
2222
- name: Checkout
@@ -78,7 +78,7 @@ jobs:
7878
./make.bat
7979
env:
8080
TAGS: kcap,filament,yara,yara_static
81-
- uses: actions/upload-artifact@v2
81+
- uses: actions/upload-artifact@v4
8282
with:
8383
name: "fibratus-amd64.exe"
8484
path: "./cmd/fibratus/fibratus.exe"
@@ -91,7 +91,7 @@ jobs:
9191
run: |
9292
export VERSION=0.0.0
9393
./make.bat pkg
94-
- uses: actions/upload-artifact@v3
94+
- uses: actions/upload-artifact@v4
9595
with:
9696
name: "fibratus-amd64.msi"
9797
path: "./build/msi/fibratus-0.0.0-amd64.msi"
@@ -109,7 +109,7 @@ jobs:
109109
run: |
110110
sed -i 's/C:\/Python37/C:\/hostedtoolcache\/windows\/Python\/3.7.9\/x64/' pkg-config/python-37.pc
111111
- name: Install Go
112-
uses: actions/setup-go@v4
112+
uses: actions/setup-go@v5
113113
with:
114114
go-version: ${{ env.GO_VERSION }}
115115
- name: Setup msys2
@@ -125,7 +125,7 @@ jobs:
125125
libtool
126126
autoconf
127127
- name: Cache yara
128-
uses: actions/cache@v3
128+
uses: actions/cache@v4
129129
id: cache
130130
with:
131131
path: |
@@ -159,7 +159,7 @@ jobs:
159159
run: |
160160
sed -i 's/C:\/Python37/C:\/hostedtoolcache\/windows\/Python\/3.7.9\/x64/' pkg-config/python-37.pc
161161
- name: Install Go
162-
uses: actions/setup-go@v4
162+
uses: actions/setup-go@v5
163163
with:
164164
go-version: ${{ env.GO_VERSION }}
165165
- name: Setup msys2
@@ -175,7 +175,7 @@ jobs:
175175
libtool
176176
autoconf
177177
- name: Cache yara
178-
uses: actions/cache@v3
178+
uses: actions/cache@v4
179179
id: cache
180180
with:
181181
path: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
run: |
9191
export VERSION=${{ steps.get_version.outputs.VERSION }}
9292
./make.bat pkg
93-
- uses: actions/upload-artifact@v3
93+
- uses: actions/upload-artifact@v4
9494
with:
9595
name: fibratus-${{ steps.get_version.outputs.VERSION }}-amd64.msi
9696
path: "./build/msi/fibratus-${{ steps.get_version.outputs.VERSION }}-amd64.msi"
@@ -127,7 +127,7 @@ jobs:
127127
run: |
128128
export VERSION=${{ steps.get_version.outputs.VERSION }}
129129
./make.bat pkg-slim
130-
- uses: actions/upload-artifact@v3
130+
- uses: actions/upload-artifact@v4
131131
with:
132132
name: fibratus-${{ steps.get_version.outputs.VERSION }}-slim-amd64.msi
133133
path: "./build/msi/fibratus-${{ steps.get_version.outputs.VERSION }}-slim-amd64.msi"

0 commit comments

Comments
 (0)