Skip to content

gh workflow

gh workflow #4

Workflow file for this run

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

Check failure on line 30 in .github/workflows/gh-actions.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/gh-actions.yaml

Invalid workflow file

You have an error in your yaml syntax on line 30
- 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 }}."