chore: bump is-healthy to v1.0.40 #2840
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
permissions: | |
contents: read | |
checks: write | |
issues: write | |
pull-requests: write | |
name: Test | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free up disk space | |
run: | | |
initial_space=$(df / | grep / | awk '{print $4}') | |
rm -rf /usr/share/dotnet | |
rm -rf /opt/ghc | |
rm -rf /usr/local/share/boost | |
rm -rf $AGENT_TOOLSDIRECTORY | |
rm -rf /opt/hostedtoolcache | |
final_space=$(df / | grep / | awk '{print $4}') | |
difference=$((final_space - initial_space)) | |
echo "Disk space difference (in KB): $difference" | |
- name: Install Go | |
uses: buildjet/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: buildjet/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
.bin | |
key: cache-${{ hashFiles('**/go.sum') }}-${{ hashFiles('.bin/*') }} | |
restore-keys: | | |
cache- | |
- name: Test | |
run: make static test | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1 | |
if: always() && github.event.repository.fork == 'false' | |
with: | |
files: test/test-results.xml | |
check_name: E2E - ${{matrix.suite}} |