Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed Nov 1, 2023
1 parent 546073f commit 4bd8ce7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,21 @@ jobs:
python-version: 3.8
- name: Run pre-commit checks
uses: pre-commit/[email protected]
# https://github.com/actions/runner/issues/691
configure:
runs-on: ubuntu-latest
outputs:
uid_gid: ${{ steps.get-user.outputs.uid_gid }}
steps:
- id: get-user
run: echo "::set-output name=uid_gid::$(id -u):$(id -g)"
test:
name: Run tests
needs: configure
runs-on: ubuntu-22.04
container: mvukov/bazel-builder:commit-5e4745c94c121400da07ceafafecf679b62958f5
container:
image: mvukov/bazel-builder:commit-5e4745c94c121400da07ceafafecf679b62958f5
options: --user ${{ needs.configure.outputs.uid_gid }}

# Run bazel test with gcc and clang in each workspace
strategy:
Expand Down

0 comments on commit 4bd8ce7

Please sign in to comment.