Skip to content

Commit 1b1889e

Browse files
committed
Explicitly install linux target
1 parent bab8019 commit 1b1889e

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ jobs:
7474
if: steps.skip-check.outputs.skip-check != 'true'
7575
uses: dtolnay/rust-toolchain@stable
7676
with:
77-
targets: wasm32-unknown-unknown
78-
79-
- name: 🦀 Install Rust nightly (for shader compilation)
80-
if: steps.skip-check.outputs.skip-check != 'true'
81-
run: rustup install nightly
77+
targets: wasm32-unknown-unknown, stable-x86_64-unknown-linux-gnu
8278

8379
- name: ⚡ Setup sccache
8480
if: steps.skip-check.outputs.skip-check != 'true'
@@ -110,14 +106,6 @@ jobs:
110106
cd frontend
111107
npm run build
112108
113-
- name: 👕 Lint Graphite web formatting
114-
if: steps.skip-check.outputs.skip-check != 'true'
115-
env:
116-
NODE_ENV: production
117-
run: |
118-
cd frontend
119-
npm run lint
120-
121109
- name: 📤 Publish to Cloudflare Pages
122110
if: steps.skip-check.outputs.skip-check != 'true'
123111
uses: cloudflare/pages-action@1
@@ -129,6 +117,14 @@ jobs:
129117
projectName: graphite-dev
130118
directory: frontend/dist
131119

120+
- name: 👕 Lint Graphite web formatting
121+
if: steps.skip-check.outputs.skip-check != 'true'
122+
env:
123+
NODE_ENV: production
124+
run: |
125+
cd frontend
126+
npm run lint
127+
132128
# Full Rust build and tests on self-hosted runner
133129
rust-build-and-test:
134130
runs-on: self-hosted

0 commit comments

Comments
 (0)