diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 030d9576..2c1af855 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,13 @@ on: merge_group: jobs: + typos-check: + name: Typos Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: crate-ci/typos@v1.19.0 + formatting-check: name: Formatting Check runs-on: ubuntu-latest @@ -19,7 +26,7 @@ jobs: test-windows: runs-on: windows-latest steps: - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | /Users/runneradmin/AppData/Local/bazelisk @@ -34,7 +41,7 @@ jobs: test-linux: runs-on: ubuntu-latest steps: - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache/bazelisk diff --git a/bazel/common.bazelrc b/bazel/common.bazelrc index 50ddd64d..2de0b253 100644 --- a/bazel/common.bazelrc +++ b/bazel/common.bazelrc @@ -10,9 +10,6 @@ build --enable_runfiles build --noincompatible_remove_rule_name_parameter query --noincompatible_remove_rule_name_parameter -# Temporary until https://github.com/grailbio/bazel-toolchain/pull/198 is merged -build:linux --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux - common:ci --announce_rc common:ci --verbose_failures common:ci --keep_going diff --git a/cog.toml b/cog.toml index 9cbba6c7..c7d273ca 100644 --- a/cog.toml +++ b/cog.toml @@ -1,6 +1,7 @@ pre_bump_hooks = [ # Ecsact pre 1.0.0 the 0.X.0 is our 'major' version "buildozer 'set version {{version}}' 'set compatibility_level {{version.minor}}' //MODULE.bazel:%module", + "bazel mod tidy", ] post_bump_hooks = [ diff --git a/typos.toml b/typos.toml new file mode 100644 index 00000000..3ffc3da3 --- /dev/null +++ b/typos.toml @@ -0,0 +1,5 @@ +[files] +extend-exclude = ["CHANGELOG.md"] + +[default] +extend-ignore-re = ["(?Rm)^.*(#|//)\\s*typos:disable-line$"]