Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Replace into MIT License #1018

Replace into MIT License

Replace into MIT License #1018

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
go-test:
runs-on: ubuntu-latest
steps:
-
uses: actions/setup-go@v2
with:
go-version: '1.17'
-
uses: actions/checkout@v2
-
name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
with:
version: v1.42
args: -D errcheck --timeout 2m
-
run: go test -cpu 4 -coverprofile .testCoverage.txt $(go list ./... | grep -v model/ent | grep -v mock)
env:
GIN_MODE: release
react-test:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
-
uses: actions/setup-node@v2
with:
node-version: '14.17.0'
cache: 'npm'
cache-dependency-path: ui/package-lock.json
-
run: npm install
working-directory: ui
-
run: npm run lint
working-directory: ui