This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
fixed issue with some empty fields from server #106
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: Lint and Test | |
on: [ pull_request, workflow_dispatch, create ] | |
jobs: | |
lint-go: | |
name: Lint Golang | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.53.3 | |
args: --config=.golangci.yml | |
lint-ui-payment: | |
name: Lint Payment UI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
working-directory: ui-payment | |
- name: ESLint | |
run: npx eslint src --ext .js,.jsx,.ts,.tsx | |
working-directory: ui-payment | |
- name: TS Verify | |
run: npx tsc --noEmit --skipLibCheck -p ./tsconfig.json | |
working-directory: ui-payment | |
lint-ui-dashboard: | |
name: Lint Dashboard UI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
working-directory: ui-dashboard | |
- name: ESLint | |
run: npx eslint src --ext .js,.jsx,.ts,.tsx | |
working-directory: ui-dashboard | |
- name: TS Verify | |
run: npx tsc --noEmit --skipLibCheck -p ./tsconfig.json | |
working-directory: ui-dashboard |