Fix typo in toolchains.bzl #574
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
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
jobs: | |
buildifier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout the sources" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 11" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "11" | |
- name: "Setup Bazelisk" | |
uses: bazelbuild/setup-bazelisk@v2 | |
- name: "Linting Starlark" | |
run: bazel run @buildifier_prebuilt//:buildifier -- -mode check -lint warn -r . | |
- name: "Lint Shell files" | |
run: for file in $(ind . -type f -name "*.sh" -not -path "./.github/*"); do shellcheck $file; done; | |
build-bzlmod: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout the sources" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 11" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "11" | |
- name: "Setup Bazelisk" | |
uses: bazelbuild/setup-bazelisk@v2 | |
- name: "Configure Bazel" | |
run: cp .github/workflows/ci.bazelrc . | |
- name: "Build" | |
run: bazel build //detekt/wrapper:bin --enable_bzlmod=True | |
- name: "Unit tests" | |
run: bazel test //... --enable_bzlmod=True | |
- name: "Integration tests" | |
run: bash tests/integration/suite.sh | |
build-workspace: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout the sources" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 11" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "11" | |
- name: "Setup Bazelisk" | |
uses: bazelbuild/setup-bazelisk@v2 | |
- name: "Configure Bazel" | |
run: cp .github/workflows/ci.bazelrc . | |
- name: "Build" | |
run: bazel build //detekt/wrapper:bin --enable_bzlmod=False | |
- name: "Unit tests" | |
run: bazel test //detekt/... --enable_bzlmod=False |