Skip to content

Commit

Permalink
modify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryang20718 committed Dec 26, 2023
1 parent 73f70f7 commit 2aed6ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ jobs:
os: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run Linters
shell: bash
run: tools/trunk check

- name: Build Linux X86 64 binary
shell: bash
run: tools/bazel -h

- name: Build Linux X86 64 binary
shell: bash
run: tools/bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //bazel_disk_cache_cleaner
Expand Down
2 changes: 1 addition & 1 deletion tools/bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Wrapper script for bazel. only linux and macos supported right now
set -eu -o pipefail
set -eu -ox pipefail

platform="$(uname -s | tr '[:upper:]' '[:lower:]')"
os=${OSTYPE//[0-9.]/}
Expand Down

0 comments on commit 2aed6ee

Please sign in to comment.