File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 9
9
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
10
10
with :
11
11
go-version-file : go.mod
12
- - name : Build
13
- run : |
14
- go get -d -v
15
- CGO_ENABLED=0 go build -ldflags="-w -s" -v -o app .
12
+ - run : CGO_ENABLED=0 go build -ldflags="-w -s" -v -o app ./cmd/run
16
13
- name : Integration Test
17
14
run : |
18
15
INPUT_TOKEN=${{ secrets.PAT }} INPUT_REPOSITORY=kudoas/sync-issue-field INPUT_ISSUE=3 ./app
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ FROM golang:1.22.2-alpine@sha256:cdc86d9f363e8786845bea2040312b4efa321b828acdeb2
3
3
WORKDIR /app
4
4
COPY . /app
5
5
6
- RUN go get -d -v
7
- RUN CGO_ENABLED=0 go build -ldflags="-w -s" -v -o app .
6
+ RUN CGO_ENABLED=0 go build -ldflags="-w -s" -v -o app ./cmd/run
8
7
9
8
FROM alpine:latest@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
10
9
File renamed without changes.
You can’t perform that action at this time.
0 commit comments