Skip to content

working Dockerfile #162

working Dockerfile

working Dockerfile #162

Workflow file for this run

name: Pull Request
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
# server:
# can we run the server, is the API alright?
#
# Priority is to fail fast, so first can we compile and build
# the server binary, then tests, and linting.
server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cashapp/activate-hermit@v1
- name: build-server
run: go build ./cmd/veun
- name: test
run: go test ./...
- name: lint
run: golangci-lint run
# prmectl: just make sure that it's going to be ok.
prmectl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cashapp/activate-hermit@v1
- name: shellcheck ./dev
run: shellcheck ./prod