Skip to content

Commit

Permalink
fix: Make different matrices run independently of each other
Browse files Browse the repository at this point in the history
  • Loading branch information
spencercjh committed Dec 20, 2024
1 parent 489e9ea commit d0ef224
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ permissions:
jobs:
go:
timeout-minutes: 30
continue-on-error: true
# TODO:adapt to different architecture runner
runs-on: ${{ matrix.os }}

# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
strategy:
matrix:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
sudo apt install -y libelf-dev
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/${{ matrix.name }}/ llvm-toolchain-${{ matrix.name }}-15 main"
sudo add-apt-repository "deb http://apt.llvm.org/${{ matrix.name }}/ llvm-toolchain-${{ matrix.name }}-18 main"
sudo apt update
sudo apt install -y llvm
Expand All @@ -66,10 +66,10 @@ jobs:
- name: Test
run: |
make test
if: always()
if: success()

- name: Format
run: |
make format-go
git diff --exit-code --quiet || { echo "Code formatting issues detected"; exit 1; }
if: always()
if: success()

0 comments on commit d0ef224

Please sign in to comment.