Skip to content

feat: change ignored by type vs by action #3170

feat: change ignored by type vs by action

feat: change ignored by type vs by action #3170

Workflow file for this run

on: pull_request
name: Build
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Harden Runner
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Free up disk space
run: |
initial_space=$(df / | grep / | awk '{print $4}')
docker system prune -af
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: Build Container
run: make docker
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}