Skip to content

Commit

Permalink
Remove v1 code (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Feb 21, 2022
1 parent 0fd3570 commit 12e965c
Show file tree
Hide file tree
Showing 1,298 changed files with 4,310 additions and 27,009 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path v2/Cargo.toml --all -- --check
args: --all -- --check

clippy:
name: run clippy
Expand All @@ -40,12 +40,10 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: rustup component add clippy
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./v2
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path v2/Cargo.toml -- -D warnings
args: -- -D warnings

test:
name: run tests
Expand All @@ -61,9 +59,6 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./v2
- uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path v2/Cargo.toml
2 changes: 0 additions & 2 deletions .github/workflows/candid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
name: didc
version: 0.7.8
- name: run validate-candid-syntax.sh
working-directory: ./v2
run: ./validate-candid-syntax.sh
shell: bash

Expand All @@ -44,6 +43,5 @@ jobs:
name: didc
version: 0.7.8
- name: run validate-candid-matches-rust.sh
working-directory: ./v2
run: ./validate-candid-matches-rust.sh
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/deploy_frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Build the frontend
run: |
cd v2/frontend
cd frontend
npm ci
npm run build:prod_test
cd ..
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: v2/frontend
working-directory: frontend
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
Expand Down
Loading

0 comments on commit 12e965c

Please sign in to comment.