GitHub Actions: Build linux app
This commit is contained in:
parent
14ab03cb97
commit
70cdd79737
2 changed files with 9 additions and 3 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -23,8 +23,8 @@ jobs:
|
|||
with:
|
||||
go-version: 1.15
|
||||
|
||||
- name: Build server Linux package
|
||||
run: make server-linux-package
|
||||
- name: Build Linux server and app
|
||||
run: make server-linux-package linux-app
|
||||
|
||||
- name: Copy server binary for Cypress
|
||||
run: cp bin/linux/octoserver bin/
|
||||
|
@ -35,6 +35,12 @@ jobs:
|
|||
name: octo-linux-amd64.tar.gz
|
||||
path: ${{ github.workspace }}/dist/octo-linux-amd64.tar.gz
|
||||
|
||||
- name: Upload app package
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: tasks-linux.tar.gz
|
||||
path: ${{ github.workspace }}/linux/dist/tasks-linux.tar.gz
|
||||
|
||||
- name: ESLint
|
||||
run: cd webapp; npm run check
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ server-lint:
|
|||
cd server; golangci-lint run -p format -p unused -p complexity -p bugs -p performance -E asciicheck -E depguard -E dogsled -E dupl -E funlen -E gochecknoglobals -E gochecknoinits -E goconst -E gocritic -E godot -E godox -E goerr113 -E goheader -E golint -E gomnd -E gomodguard -E goprintffuncname -E gosimple -E interfacer -E lll -E misspell -E nlreturn -E nolintlint -E stylecheck -E unconvert -E whitespace -E wsl --skip-dirs services/store/sqlstore/migrations/ ./...
|
||||
|
||||
server-test:
|
||||
cd server; go test ./...
|
||||
cd server; go test -v ./...
|
||||
|
||||
server-doc:
|
||||
cd server; go doc ./...
|
||||
|
|
Loading…
Reference in a new issue