diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 4bd43da..d0f049f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,12 +30,12 @@ jobs: uses: actions/checkout@v2.3.4 - name: Build the container image - uses: docker/build-push-action@v2.5.0 + uses: docker/build-push-action@v2.6.1 with: repository: rrgc - name: Push to GitHub Packages - uses: docker/build-push-action@v2.5.0 + uses: docker/build-push-action@v2.6.1 if: github.event_name == 'release' || github.event_name == 'push' with: username: ${{ github.actor }} @@ -66,7 +66,7 @@ jobs: if: | (github.event_name == 'release' || github.event_name == 'push') && contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no') - uses: docker/build-push-action@v2.5.0 + uses: docker/build-push-action@v2.6.1 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 43bb43c..b38bd8a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -58,7 +58,7 @@ jobs: key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1- - name: Run GoReleaser (Dry Run) - uses: goreleaser/goreleaser-action@v2.6.1 + uses: goreleaser/goreleaser-action@v2.7.0 with: version: latest args: release --rm-dist --snapshot --skip-publish diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6db754c..c84a4fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - name: Run GoReleaser if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true' - uses: goreleaser/goreleaser-action@v2.6.1 + uses: goreleaser/goreleaser-action@v2.7.0 with: version: latest args: release --rm-dist diff --git a/Dockerfile b/Dockerfile index 55af94e..bfc75a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VCS_REF ARG VERSION # build -FROM golang:1.16.5-alpine as builder +FROM golang:1.16.7-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/moul.io/rrgc @@ -14,7 +14,7 @@ COPY . ./ RUN make install # minimalist runtime -FROM alpine:3.14.0 +FROM alpine:3.14.1 LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.name="rrgc" \ org.label-schema.description="" \ diff --git a/go.mod b/go.mod index dbdaf42..a427b9f 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502 go.uber.org/goleak v1.1.10 go.uber.org/multierr v1.7.0 - go.uber.org/zap v1.17.0 + go.uber.org/zap v1.19.0 moul.io/climan v1.0.0 moul.io/srand v1.6.1 moul.io/zapconfig v1.4.0 diff --git a/go.sum b/go.sum index e34e123..caf1d96 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -44,8 +46,8 @@ go.uber.org/multierr v1.7.0 h1:zaiO/rmgFjbmCXdSYJWQcdvOCsthmdaHfr3Gm2Kx4Ec= go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= -go.uber.org/zap v1.17.0 h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.19.0 h1:mZQZefskPPCMIBCSEH0v2/iUqqLrYtaeqwD6FUGUnFE= +go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= diff --git a/tool/lint/package.json b/tool/lint/package.json index 5493049..abc1e69 100644 --- a/tool/lint/package.json +++ b/tool/lint/package.json @@ -2,7 +2,7 @@ "dependencies": { "alex": "9.1.0", "markdown-spellcheck": "1.3.1", - "markdownlint-cli": "0.27.1", + "markdownlint-cli": "0.28.1", "remark-cli": "9.0.0", "remark-lint": "8.0.0" }