update GHA actions' versions

This commit is contained in:
Dmitry Arkhipov 2024-03-15 08:55:19 +03:00
parent e9df70b5f5
commit 128dc383a7
2 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch head
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: 'head_ref/root'
- name: Compile static lib for head ref
@ -34,7 +34,7 @@ jobs:
rows: 0 # 0 indicates unlimited number of rows
- name: Fetch base
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
path: 'base_ref/root'

View File

@ -14,10 +14,10 @@ jobs:
steps:
- name: Fetch head
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: 'head'
- uses: actions/cache@v3
- uses: actions/cache@v4
id: cache-corpus
with:
path: head/fuzzing/corpus.tar
@ -34,13 +34,13 @@ jobs:
run: |
tar cf - cmin > corpus.tar.tmp && mv corpus.tar.tmp "${GITHUB_WORKSPACE}"/head/fuzzing
- name: Save the corpus as a github artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: corpus
path: head/fuzzing/corpus.tar
- name: Archive any crashes as an artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: crashes