chore(deps): update alpine/terragrunt docker tag to v1.15.9 #51492
This file contains hidden or 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
| --- | |
| name: "Test mega-linter-runner" | |
| on: | |
| # push is restricted to main: feature branches are already covered by the | |
| # pull_request event, and unrestricted push triggered a duplicate run for | |
| # every commit of every open PR | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - .github/CONTRIBUTING.md | |
| - CHANGELOG.md | |
| - README.md | |
| - .github/workflows/slash-command-dispatch.yml | |
| - .github/workflows/help-command.yml | |
| - .github/workflows/build-command.yml | |
| pull_request: | |
| paths-ignore: | |
| - .github/CONTRIBUTING.md | |
| - CHANGELOG.md | |
| - README.md | |
| - .github/workflows/slash-command-dispatch.yml | |
| - .github/workflows/help-command.yml | |
| - .github/workflows/build-command.yml | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Test MegaLinter runner | |
| # Set the agent to run on | |
| runs-on: ubuntu-latest | |
| # Prevent duplicate run from happening when a forked push is committed | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: "24.x" | |
| - name: Install dependencies | |
| run: cd mega-linter-runner && yarn install --frozen-lockfile && npm link | |
| # Free disk space | |
| - name: Free Disk space | |
| shell: bash | |
| run: | | |
| sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android | |
| sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL # large cache | |
| sudo rm -rf /opt/hostedtoolcache/go # Go toolcache | |
| # Run mocha tests | |
| - name: Run tests | |
| run: cd mega-linter-runner && npm run test |