rm unnecessary folder #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | ||
run-name: ${{ github.actor }} is testing out GitHub Actions π | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | ||
- name: Install | ||
run: | | ||
npm install | ||
dfx start --clean --background | ||
dfx canister create --all | ||
mkdir src/civic_canister_backend/dist | ||
- name: Build | ||
run: dfx build --verbose | ||
- name: Deploy | ||
run: dfx canister install --all && dfx deploy | ||
- name: Run tests | ||
run: cargo test --test integration_tests --verbose | ||
- run: echo "π This job's status is ${{ job.status }}." |