Attempt to run docker in github actions with correct user and group permissions
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -27,6 +27,7 @@ jobs:
|
||||
- name: Run Rust Tests
|
||||
run: |
|
||||
docker run --rm \
|
||||
-u $(id -u):$(id -g) \
|
||||
-v "$PWD":/app \
|
||||
slang-builder \
|
||||
cargo test --manifest-path rust_compiler/Cargo.toml --workspace --all-targets
|
||||
@@ -48,6 +49,7 @@ jobs:
|
||||
- name: Build Release Artifacts
|
||||
run: |
|
||||
docker run --rm \
|
||||
-u $(id -u):$(id -g) \
|
||||
-v "$PWD":/app \
|
||||
-v "/home/github-runner/permanent-refs":/app/csharp_mod/refs \
|
||||
slang-builder \
|
||||
|
||||
Reference in New Issue
Block a user