Skip to content

Commit

Permalink
Merge pull request #23 from CycloneDX/dependabot/github_actions/golan…
Browse files Browse the repository at this point in the history
…gci/golangci-lint-action-3.1.0

build(deps): bump golangci/golangci-lint-action from 2 to 3.1.0
  • Loading branch information
nscuro committed Mar 1, 2022
2 parents 0fb04d7 + a2abeb6 commit 11c9004
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3.0.0
- name: Check license headers
uses: apache/skywalking-eyes@v0.2.0
with:
Expand All @@ -25,9 +25,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3.0.0
- name: Setup Go
uses: actions/setup-go@v3.0.0
with:
go-version: "1.17"
check-latest: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3.1.0
with:
version: latest

Expand All @@ -37,14 +42,15 @@ jobs:
strategy:
matrix:
go:
- "^1.15"
- "^1.16"
- "^1.17"
- "1.15"
- "1.16"
- "1.17"
steps:
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3.0.0
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Setup CycloneDX CLI
run: |
mkdir -p "$HOME/.local/bin"
Expand All @@ -53,6 +59,6 @@ jobs:
echo "ae39404a9dc8b2e7be0a9559781ee9fe3492201d2629de139d702fd4535ffdd6 $HOME/.local/bin/cyclonedx" | sha256sum -c
chmod +x "$HOME/.local/bin/cyclonedx"
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3.0.0
- name: Test
run: make test
7 changes: 4 additions & 3 deletions .github/workflows/goreleaser.yml
Expand Up @@ -10,13 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3.0.0
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3.0.0
with:
go-version: 1.16
go-version: "1.17"
check-latest: true
- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
Expand Down

0 comments on commit 11c9004

Please sign in to comment.