Skip to content

Commit

Permalink
Bump actions/checkout from 4.1.7 to 4.2.0 (#587)
Browse files Browse the repository at this point in the history
* Bump actions/checkout from 4.1.7 to 4.2.0

* Add concurrency group to ci-go-cover.yml

* Add concurrency group to ci.yml

* Add concurrency group to govulncheck.yml  
  While at it, also add cron schedule.

* Add concurrency group to safer-golangci-lint.yml  
  While at it, bump golangci-lint to 1.59.1.

* Bump go to 1.23 in govulncheck.yml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Faye Amacker <[email protected]>
  • Loading branch information
dependabot[bot] and fxamacker authored Sep 29, 2024
1 parent 46c3919 commit 7c4b10c
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 13 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-go-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
push:
branches: [main, master]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:

# Verify minimum coverage is reached using `go test -short -cover` on latest-ubuntu with default version of Go.
Expand All @@ -36,11 +40,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.21
go-version: 1.23
check-latest: true
- name: Install x448/float16
run: go get github.com/x448/[email protected]
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ on:
pull_request:
push:
branches:
- 'main'
- 'master'
- 'release*'
- 'feature/stream-mode'
tags:
- 'v*'
- 'v*'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
# Test on various OS with default Go version.
tests:
Expand All @@ -35,7 +41,7 @@ jobs:
check-latest: true

- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
25 changes: 20 additions & 5 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ on:
- 'feature/stream-mode'
tags:
- 'v*'
schedule:
- cron: '25 14 * * 0'
# | | | | |
# | | | | day of the week (0–6 with 0=Sunday)
# | | | month (1–12)
# | | day of month (1–31)
# | hour (0–23 in UTC)
# minute (0–59)

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
Check:
Expand All @@ -33,15 +45,18 @@ jobs:
contents: read
steps:
- name: Checkout source
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 1
- name: Set up Go

- name: Install Go and setup env
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.21.x
go-version: 1.23
check-latest: true
- name: Install latest from golang.org

- name: Install latest govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@4ea4418106cea3bb2c9aa098527c924e9e1fbbb4 # v1.1.3
- name: Run govulncheck

- name: Run govulncheck
run: govulncheck -show=traces ./...
10 changes: 7 additions & 3 deletions .github/workflows/safer-golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ on:

env:
GO_VERSION: '1.22'
GOLINTERS_VERSION: 1.56.2
GOLINTERS_VERSION: 1.59.1
GOLINTERS_ARCH: linux-amd64
GOLINTERS_TGZ_DGST: e1c313fb5fc85a33890fdee5dbb1777d1f5829c84d655a47a55688f3aad5e501
GOLINTERS_TGZ_DGST: c30696f1292cff8778a495400745f0f9c0406a3f38d8bb12cef48d599f6c7791
GOLINTERS_TIMEOUT: 15m
OPENSSL_DGST_CMD: openssl dgst -sha256 -r
CURL_CMD: curl --proto =https --tlsv1.2 --location --silent --show-error --fail

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
main:
name: Lint
Expand All @@ -32,7 +36,7 @@ jobs:
contents: read
steps:
- name: Checkout source
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 1

Expand Down

0 comments on commit 7c4b10c

Please sign in to comment.