Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,26 @@ on:
- pull_request

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#- name: Install Protoc
# uses: arduino/setup-protoc@v1
#- name: Install Go protoc
# run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
#- name: Generate protobuf
# run: protoc --proto_path=./messages --go_out=./ messages/*.proto
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
working-directory: ./server/cmd/ptrun-server/
build:
name: Server build
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -32,7 +49,6 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Docker version
run: docker --version
- name: Docker Login
Expand Down