Skip to content

Commit 5eb2862

Browse files
committed
Remove a small diff
1 parent 4454ddf commit 5eb2862

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
runs-on: ${{ matrix.runner }}
2525

2626
# Add container only for Linux runner
27-
container: ${{ matrix.use_container && fromJSON('{"image":"localhost:5000/spacetimedb-ci:latest"}') || null }}
27+
container: ${{ matrix.use_container && fromJSON('{
28+
"image": "localhost:5000/spacetimedb-ci:latest",
29+
"options": "--privileged"
30+
}') || null }}
2831

2932
steps:
3033
- name: Find Git ref
@@ -44,9 +47,7 @@ jobs:
4447
with:
4548
ref: ${{ env.GIT_REF }}
4649
- uses: dsherret/rust-toolchain-file@v1
47-
# Only install .NET on Windows (not in container where it's pre-installed)
4850
- uses: actions/setup-dotnet@v4
49-
if: ${{ !matrix.use_container }}
5051
with:
5152
global-json-file: global.json
5253

@@ -64,11 +65,6 @@ jobs:
6465
if: runner.os == 'Windows'
6566
run: choco install psql -y --no-progress
6667
shell: powershell
67-
- name: Debug paths
68-
run: |
69-
pwd
70-
ls -l
71-
ls -l Cargo.toml || echo "Cargo.toml not found here"
7268
- name: Build and start database (Linux)
7369
if: runner.os == 'Linux'
7470
run: docker compose up -d
@@ -122,11 +118,6 @@ jobs:
122118
uses: actions/checkout@v4
123119
with:
124120
ref: ${{ env.GIT_REF }}
125-
- name: Configure Git for container
126-
run: |
127-
git config --global --add safe.directory '*'
128-
- name: Verify .NET
129-
run: dotnet --version
130121

131122
- uses: dsherret/rust-toolchain-file@v1
132123

@@ -424,6 +415,11 @@ jobs:
424415
with:
425416
run_install: true
426417

418+
- name: Create /stdb dir
419+
run: |
420+
sudo mkdir /stdb
421+
sudo chmod 777 /stdb
422+
427423
- name: Get pnpm store directory
428424
shell: bash
429425
run: |
@@ -439,6 +435,10 @@ jobs:
439435
440436
- uses: dsherret/rust-toolchain-file@v1
441437

438+
- uses: actions/setup-dotnet@v3
439+
with:
440+
global-json-file: global.json
441+
442442
- name: Check for docs change
443443
run: |
444444
cargo run --features markdown-docs -p spacetimedb-cli > docs/docs/cli-reference.md

0 commit comments

Comments
 (0)