Skip to content

Commit 31e88d9

Browse files
committed
chore(ci): remove wasm github action elements
1 parent ec11e0c commit 31e88d9

File tree

2 files changed

+0
-143
lines changed

2 files changed

+0
-143
lines changed

.github/workflows/pages.yml

-98
This file was deleted.

.github/workflows/rust.yml

-45
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: CI
22

33
on: [push, pull_request, workflow_dispatch]
44

5-
env:
6-
WASM_TRUNK_DEPLOY_CRATE: sample-webapp
7-
# RUSTFLAGS: -D warnings
8-
# RUSTDOCFLAGS: -D warnings
9-
# NIGHTLY_VERSION: nightly-20xx-yy-zz
10-
11-
125
jobs:
136
check:
147
name: Check
@@ -26,23 +19,6 @@ jobs:
2619
command: check
2720
args: --all-features
2821

29-
check_wasm:
30-
name: Check wasm32
31-
runs-on: ubuntu-latest
32-
steps:
33-
- uses: actions/checkout@v4
34-
- uses: actions-rs/toolchain@v1
35-
with:
36-
profile: minimal
37-
# toolchain: nightly
38-
toolchain: stable
39-
target: wasm32-unknown-unknown
40-
override: true
41-
- uses: actions-rs/cargo@v1
42-
with:
43-
command: check
44-
args: --all-features --lib --target wasm32-unknown-unknown
45-
4622
test:
4723
name: Test Suite
4824
runs-on: ubuntu-latest
@@ -76,24 +52,3 @@ jobs:
7652
with:
7753
command: clippy
7854
# args: -- -D warnings
79-
80-
# TODO: generalize this to check multiple crates or all crates with root `index.html`
81-
trunk:
82-
name: trunk
83-
runs-on: ubuntu-latest
84-
steps:
85-
- uses: actions/checkout@v4
86-
- uses: actions-rs/toolchain@v1
87-
with:
88-
profile: minimal
89-
# toolchain: nightly
90-
toolchain: stable
91-
target: wasm32-unknown-unknown
92-
override: true
93-
- name: Download and install Trunk binary
94-
run: |
95-
wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
96-
sudo mv trunk /usr/local/bin/
97-
- name: Build
98-
working-directory: crates/${{ env.WASM_TRUNK_DEPLOY_CRATE }}
99-
run: trunk build

0 commit comments

Comments
 (0)