Merge pull request #2264 from crytic/dependabot/github_actions/dev/actions/download-artifact-4

Bump actions/{download,upload}-artifact from 3 to 4
pull/2311/head
alpharush 9 months ago committed by GitHub
commit 4e52b40892
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/actions/upload-coverage/action.yml
  2. 2
      .github/workflows/publish.yml
  3. 5
      .github/workflows/test.yml

@ -15,15 +15,15 @@ runs:
# This method has the limitation of 1 coverage file per run, limiting some coverage between online/offline tests.
- run: |
COVERAGE_UUID=$(python3 -c "import uuid; print(uuid.uuid4())")
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> $GITHUB_OUTPUT
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> "$GITHUB_OUTPUT"
if [ -f .coverage ]; then
mv .coverage .coverage.${COVERAGE_UUID}
fi
id: coverage-uuid
shell: bash
- uses: actions/upload-artifact@v3.1.0
- uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-${{ steps.coverage-uuid.outputs.COVERAGE_UUID }}
path: |
.coverage.*
*.lcov

@ -38,7 +38,7 @@ jobs:
- build-release
steps:
- name: fetch dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: slither-dists
path: dist/

@ -109,9 +109,10 @@ jobs:
- run: pip install coverage[toml]
- name: download coverage data
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true
- name: combine coverage data
id: combinecoverage

Loading…
Cancel
Save