Files
ark/.github/workflows/ark.unit.yaml
Pietralberto Mazza dc00d60585 Rename folders (#97)
* Rename arkd folder & drop cli

* Rename ark cli folder & update docs

* Update readme

* Fix

* scripts: add build-all

* Add target to build cli for all platforms

* Update build scripts

---------

Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
2024-02-09 19:32:58 +01:00

41 lines
880 B
YAML
Executable File

name: ci_unit
on:
push:
paths:
- "server/**"
branches: [master]
pull_request:
branches:
- master
paths:
- "server/**"
jobs:
test:
name: unit tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/setup-go@v3
with:
go-version: ">1.17.2"
- uses: actions/checkout@v3
- name: check linting
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
working-directory: ./server
- name: check code integrity
uses: securego/gosec@master
with:
args: '-severity high -quiet ./...'
- uses: bufbuild/buf-setup-action@v1.3.1
- name: check proto linting
run: buf lint
- run: go get -v -t -d ./...
- name: unit testing
run: make test