Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
uses: actions/checkout@v3

- name: Build the container image
uses: docker/build-push-action@v3.1.0
uses: docker/build-push-action@v3.3.1
with:
repository: berty-discord-webhook

- name: Push to GitHub Packages
uses: docker/build-push-action@v3.1.0
uses: docker/build-push-action@v3.3.1
if: github.event_name == 'release' || github.event_name == 'push'
with:
username: ${{ github.actor }}
Expand Down Expand Up @@ -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@v3.1.0
uses: docker/build-push-action@v3.3.1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
with:
go-version: ${{ matrix.golang }}
- name: Cache Go modules
uses: actions/cache@v3.0.7
uses: actions/cache@v3.3.3
with:
path: ~/go/pkg/mod
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@v3.0.0
uses: goreleaser/goreleaser-action@v3.2.0
with:
version: latest
args: release --rm-dist --snapshot --skip-publish
Expand All @@ -73,7 +73,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.2.0
uses: golangci/golangci-lint-action@v3.7.1
with:
version: ${{ matrix.golangci_lint }}
#github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.golang }}
- uses: actions/cache@v3.0.7
- uses: actions/cache@v3.3.3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -128,7 +128,7 @@ jobs:
git --no-pager diff go.mod go.sum
git --no-pager diff --quiet go.mod go.sum
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
uses: codecov/codecov-action@v3.1.6
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.golang }}
- uses: actions/cache@v3.0.7
- uses: actions/cache@v3.3.3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
Expand All @@ -172,7 +172,7 @@ jobs:
- name: Run tests on Unix-like operating systems
run: make unittest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
uses: codecov/codecov-action@v3.1.6
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
-
name: Cache Go modules
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
uses: actions/cache@v3.0.7
uses: actions/cache@v3.3.3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1-
-
name: Run GoReleaser
if: steps.semantic.outputs.new-release-published == 'true' && steps.repoman.outputs.has-go-binary == 'true'
uses: goreleaser/goreleaser-action@v3.0.0
uses: goreleaser/goreleaser-action@v3.2.0
with:
version: latest
args: release --rm-dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.0
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
persist-credentials: false

- name: "Run analysis"
env:
SCORECARD_READ_TOKEN: ${{ secrets.SCORECARD_READ_TOKEN }}
if: env.SCORECARD_READ_TOKEN != null
uses: ossf/scorecard-action@68bf5b3327e4fd443d2add8ab122280547b4a16d # v1.0.4
uses: ossf/scorecard-action@ce330fde6b1a5c9c75b417e7efc510b822a35564 # v1.1.2
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -48,7 +48,7 @@ jobs:
env:
SCORECARD_READ_TOKEN: ${{ secrets.SCORECARD_READ_TOKEN }}
if: env.SCORECARD_READ_TOKEN != null
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.0.0
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: SARIF file
path: results.sarif
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG VCS_REF
ARG VERSION

# build
FROM golang:1.18.4-alpine as builder
FROM golang:1.22.5-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/berty-discord-webhook
Expand All @@ -14,7 +14,7 @@ COPY . ./
RUN make install

# minimalist runtime
FROM alpine:3.16.1
FROM alpine:3.20.1
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="berty-discord-webhook" \
org.label-schema.description="" \
Expand Down
16 changes: 8 additions & 8 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tool/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"alex": "10.0.0",
"markdown-spellcheck": "1.3.1",
"markdownlint-cli": "0.31.1",
"markdownlint-cli": "0.41.0",
"remark-cli": "11.0.0",
"remark-lint": "9.1.1"
}
Expand Down
Loading