We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6269b9 + 72d9503 commit 900c9c0Copy full SHA for 900c9c0
.github/workflows/test.yml
@@ -16,11 +16,21 @@ jobs:
16
with:
17
go-version: 1.17
18
19
+ - name: Check formatting
20
+ run: go fmt ./... && git diff --exit-code
21
+
22
- name: Build
23
run: go build -v ./...
24
25
- name: Test
26
run: go test -v ./...
27
- - name: Check formatting
- run: go fmt ./... && git diff --exit-code
28
+ - name: Set up Docker Build
29
+ uses: docker/setup-buildx-action@v1
30
31
+ - name: Build using docker
32
+ uses: docker/build-push-action@v2
33
+ with:
34
+ context: ./
35
+ file: ./Dockerfile
36
+ push: false
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM golang:1.18-alpine AS builder
+FROM golang:1.18 AS builder
2
3
WORKDIR /go/src/github.com/partyoffice/spotifete
4
COPY . .
0 commit comments