You've already forked ddns-updater
upgrade
This commit is contained in:
6
.github/workflows/quality-checks.yml
vendored
6
.github/workflows/quality-checks.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
cache: false
|
||||
- uses: actions/checkout@v3
|
||||
- name: golangci-lint
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Prepare go environment
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
cache: false
|
||||
- name: Install dep scanner
|
||||
run: |
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
- name: Prepare go environment
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
cache: false
|
||||
- name: Run tests
|
||||
run: go test --cover -coverprofile coverage.out -covermode count -v ./...
|
||||
|
||||
@@ -4,7 +4,7 @@ FROM golang:1.21 as build
|
||||
COPY . /opt/project/
|
||||
WORKDIR /opt/project
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates=20210119
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
|
||||
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /cloudflare-ddns-updater
|
||||
|
||||
|
||||
Reference in New Issue
Block a user