Skip to content

Commit

Permalink
Merge pull request #60 from CosmWasm/add-ci
Browse files Browse the repository at this point in the history
Test GH Action
  • Loading branch information
hashedone authored Feb 22, 2024
2 parents 9c7bf59 + b19f1b4 commit fb2adf3
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Update dependencies
run: sudo apt update && sudo apt upgrade -y
- name: Install plantuml
run: sudo apt-get install plantuml
- name: Install Rust
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Verify
on:
push:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install mdbook
run: |
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Install plantuml
run: sudo apt-get install plantuml
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook-plantuml
uses: actions-rs/cargo@v1
with:
command: install
args: mdbook-plantuml
- name: Test build
run: mdbook build

1 change: 1 addition & 0 deletions src/section-4-best-practices
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Section:4 Best Practices

0 comments on commit fb2adf3

Please sign in to comment.