fix dockerfile #160
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: 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 |