Skip to content

Commit

Permalink
feat: GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoudan committed Aug 26, 2023
1 parent 3886bfe commit b0e7527
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"ms-toolsai.jupyter",
"GitHub.copilot",
"rust.rust-analyzer",
"github.copilot-chat"
"github.copilot-chat",
"github.vscode-github-actions"
]
}
},
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'build'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout (GitHub)
uses: actions/checkout@v3

- name: Build and run dev container task
uses: devcontainers/ci@v0.3
with:
runCmd:
cargo test --all-targets --all-features
cargo clippy --all-targets --all-features -- -D warnings
npm run build
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
target/
pkg/
pkg/
dist/

0 comments on commit b0e7527

Please sign in to comment.