Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Jan 10, 2024
1 parent 2c5edbd commit a222fbf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install cargo-generate
run: cargo generate --version || cargo install cargo-generate

- name: Install trunk
run: trunk --version || cargo install trunk

- name: Install minimal nightly with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy

- name: Install cargo-generate
run: cargo generate --version || cargo install cargo-generate

- name: Install trunk
run: trunk --version || cargo install trunk

# rustfmt just broken?
# - name: Run rustfmt
# run: cargo fmt --all -- --check
Expand Down
8 changes: 8 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
test workflow

```bash
docker build -t noderust .
act -P ubuntu-latest=noderust:latest --pull=false
```


11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Start with the Rust nightly image
FROM rustlang/rust:nightly-bookworm-slim

# Install Node.js, OpenSSL development libraries, and pkg-config
RUN apt-get update && apt-get install -y \
curl \
ca-certificates \
gnupg \
libssl-dev \
pkg-config \
nodejs

0 comments on commit a222fbf

Please sign in to comment.