Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: delegate more on web app #101

Merged
merged 18 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/test-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@ jobs:
with:
path-to-profile: .coverage.out

web-unit-test:
if: ${{ !startsWith(github.event.head_commit.message, 'tag') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install
run: npm i
working-directory: web
- name: Test
run: npm run test
working-directory: web

lint:
if: ${{ !startsWith(github.event.head_commit.message, 'tag') }}
runs-on: ubuntu-latest
Expand All @@ -42,13 +58,31 @@ jobs:
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.0
- run: golangci-lint run -v

web-lint:
if: ${{ !startsWith(github.event.head_commit.message, 'tag') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install
run: npm i
working-directory: web
- name: Test
run: npm run lint
working-directory: web

tag:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs:
- unit-test-linux
# - unit-test-windows
- web-unit-test
- lint
- web-lint
steps:
- uses: actions/checkout@v3
with:
Expand Down
195 changes: 0 additions & 195 deletions internal/entropy/dirs.go

This file was deleted.

Loading
Loading