Skip to content

Commit

Permalink
chore(deps): update all
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 5, 2024
1 parent 70fd6d4 commit 0d12ce5
Show file tree
Hide file tree
Showing 6 changed files with 679 additions and 30 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.14
- name: Cache Go modules
uses: actions/cache@v2.1.7
uses: actions/cache@v4.2.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run GoReleaser (Dry Run)
uses: goreleaser/goreleaser-action@v2.9.1
uses: goreleaser/goreleaser-action@v6.1.0
with:
version: latest
args: release --rm-dist --snapshot --skip-publish
Expand All @@ -58,9 +58,9 @@ jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
uses: golangci/golangci-lint-action@v6.1.1
with:
version: v1.28
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -76,9 +76,9 @@ jobs:
#- 1.13
- 1.14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.golang }}
- name: Run tests on Windows
Expand All @@ -95,12 +95,12 @@ jobs:
OS: macos-latest
GOLANG: ${{ matrix.golang }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.golang }}
- uses: actions/cache@v2.1.7
- uses: actions/cache@v4.2.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }}
Expand All @@ -116,7 +116,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@v2.1.0
uses: codecov/codecov-action@v5.1.1
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand All @@ -138,12 +138,12 @@ jobs:
OS: ubuntu-latest
GOLANG: ${{ matrix.golang }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.golang }}
- uses: actions/cache@v2.1.7
- uses: actions/cache@v4.2.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }}
Expand All @@ -159,7 +159,7 @@ jobs:
- name: Run tests on Unix-like operating systems
run: make unittest CI=true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v5.1.1
with:
#token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Release-Notes Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Run Semantic Release
id: semantic
uses: docker://ghcr.io/codfish/semantic-release-action:v1
uses: docker://ghcr.io/codfish/semantic-release-action:v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up Go
if: steps.semantic.outputs.new-release-published == 'true'
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.14
-
name: Cache Go modules
if: steps.semantic.outputs.new-release-published == 'true'
uses: actions/cache@v2.1.7
uses: actions/cache@v4.2.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -39,7 +39,7 @@ jobs:
-
name: Run GoReleaser
if: steps.semantic.outputs.new-release-published == 'true'
uses: goreleaser/goreleaser-action@v2.9.1
uses: goreleaser/goreleaser-action@v6.1.0
with:
version: latest
args: release --rm-dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ name: Semgrep
jobs:
semgrep:
name: Scan
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: semgrep ci
Loading

0 comments on commit 0d12ce5

Please sign in to comment.