chore: Prepare for v0.4.8 release #486
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - scip-ruby/master | |
| pull_request: | |
| branches: | |
| - scip-ruby/master | |
| jobs: | |
| test: | |
| runs-on: 'ubuntu-22.04' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Keep in sync with ci.yml | |
| - name: Manually evict cache entry if applicable | |
| run: ACCESS_TOKEN='${{ secrets.GITHUB_TOKEN }}' python3 .github/workflows/evict.py | |
| - name: "🚀 Mount Bazel build cache" | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/bazelcache/build | |
| key: lint-bazel-build-${{ runner.os }}-${{ github.sha }} | |
| restore-keys: | | |
| lint-bazel-build-${{ runner.os }}- | |
| lint-bazel-build- | |
| - name: "🚀 Mount Bazel repo cache" | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/bazelcache/repos | |
| key: lint-bazel-repos-${{ runner.os }}-${{ hashFiles('WORKSPACE') }} | |
| restore-keys: | | |
| lint-bazel-repos-${{ runner.os }}- | |
| lint-bazel-repos- | |
| - name: "⚙️ Setup Bazel" | |
| run: .github/workflows/setup-bazel.sh | |
| - name: Format Bazel files | |
| run: | | |
| ./tools/scripts/format_build_files.sh | |
| if ! git diff --quiet; then | |
| git diff | |
| echo "" | |
| echo "-----------------------------------------------------" | |
| echo "Re-run ./tools/scripts/format_build_files.sh and push" | |
| echo "-----------------------------------------------------" | |
| exit 1 | |
| fi | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '>=1.19' | |
| - name: Lint workflow files | |
| run: | | |
| go install github.com/rhysd/actionlint/cmd/actionlint@latest | |
| actionlint .github/workflows/*.yml |