Skip to content

Commit

Permalink
Merge pull request #11 from cloudflavor/chore/update-github-workflow-…
Browse files Browse the repository at this point in the history
…actions

github actions: replace deprecated actions-rs.
  • Loading branch information
oscar-automaton[bot] authored Jul 31, 2024
2 parents 3b1fa03 + 838b80d commit 5ca7045
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,28 @@ env:

jobs:
build:

runs-on: ubuntu-latest

container:
image: ubuntu:22.04
steps:
- uses: actions/checkout@v3
- name: Install packages
run: |
apt-get update && apt-get install -y curl \
wget unzip pkg-config libssl-dev cmake build-essential
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
target: wasm32-wasip1
- name: Install cargo-component
run: cargo install cargo-component
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential
- name: Install wit-bindgen
run: cargo install wit-bindgen-cli
- name: Check WIT API
run: scripts/check-wit.sh
- name: Run clippy
run: cargo clippy
- name: Build plugins
run: cargo component build
run: cargo component build -r

0 comments on commit 5ca7045

Please sign in to comment.