Skip to content

Dockerfile에서 go.mod와 go.sum 파일 복사 순서 수정 #15

Dockerfile에서 go.mod와 go.sum 파일 복사 순서 수정

Dockerfile에서 go.mod와 go.sum 파일 복사 순서 수정 #15

Workflow file for this run

name: Continuous Integration
on:
pull_request:
types: [closed]
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, '🆗 safe')
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go environment
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-${{ hashFiles('**/*.go') }}
restore-keys: |
${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-
${{ runner.os }}-go-
# - name: Run tests
# run: go test -v ./...