From e9684853575fe839ea3a834831dd1ee1b0e624eb Mon Sep 17 00:00:00 2001 From: seaubot Date: Thu, 4 Apr 2024 21:36:58 +0000 Subject: [PATCH] chore: sync with ecsact_common --- .github/workflows/main.yml | 20 +++++++++++++------- bazel/common.bazelrc | 3 --- typos.toml | 5 +++++ 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 typos.toml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a281a5..2c1af85 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,23 +4,29 @@ name: main on: - push: - branches: - - "**" + pull_request: + 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 steps: - uses: actions/checkout@v4 - - uses: jidicula/clang-format-action@v4.9.0 - with: { clang-format-version: "16" } + - uses: jidicula/clang-format-action@v4.11.0 + with: { clang-format-version: "18" } test-windows: runs-on: windows-latest steps: - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | /Users/runneradmin/AppData/Local/bazelisk @@ -35,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 50ddd64..2de0b25 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/typos.toml b/typos.toml new file mode 100644 index 0000000..3ffc3da --- /dev/null +++ b/typos.toml @@ -0,0 +1,5 @@ +[files] +extend-exclude = ["CHANGELOG.md"] + +[default] +extend-ignore-re = ["(?Rm)^.*(#|//)\\s*typos:disable-line$"]