Fix spurious 'can't reuse name' errors when a multi-file package has a syntax error #392
Workflow file for this run
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: Repository Hygiene | |
| on: pull_request | |
| concurrency: | |
| group: pr-repo-hygiene-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| packages: read | |
| jobs: | |
| superlinter: | |
| name: Lint bash, docker, markdown, and yaml | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Lint codebase | |
| uses: docker://github/super-linter:v3.8.3 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| VALIDATE_ALL_CODEBASE: true | |
| VALIDATE_BASH: true | |
| VALIDATE_DOCKERFILE: true | |
| VALIDATE_MD: true | |
| VALIDATE_YAML: true | |
| validate-nightly-image-builds: | |
| name: Validate nightly image builds | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| - name: Set up Docker Buildx | |
| # v3.10.0 | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Docker build | |
| run: | | |
| docker buildx create --name multiplatform --driver docker-container --use --bootstrap | |
| docker buildx build --platform linux/amd64,linux/arm64 --pull --file=.dockerfiles/nightly/Dockerfile . | |
| validate-release-image-builds: | |
| name: Validate release image builds | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| - name: Set up Docker Buildx | |
| # v3.10.0 | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Docker build | |
| run: | | |
| docker buildx create --name multiplatform --driver docker-container --use --bootstrap | |
| docker buildx build --platform linux/amd64,linux/arm64 --pull --file=.dockerfiles/release/Dockerfile . | |
| verify-changelog: | |
| name: Verify CHANGELOG is valid | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Verify CHANGELOG | |
| uses: docker://ghcr.io/ponylang/changelog-tool:release | |
| with: | |
| args: changelog-tool verify |