Skip to content

Commit

Permalink
Merge pull request #75 from ViacheslavKudinov/master
Browse files Browse the repository at this point in the history
chore: Workflows update
  • Loading branch information
nmanoogian authored Feb 8, 2024
2 parents b07fbcd + 233b72d commit 07e956f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21
-
Expand All @@ -43,10 +43,10 @@ jobs:
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
# GitHub sets this automatically
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/salus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Semgrep
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Scan
id: scan
run: |
Expand All @@ -22,16 +22,16 @@ jobs:
runs-on: ubuntu-latest
name: Salus Security Scan
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Salus Scan
id: salus_scan
uses: federacy/[email protected].4
uses: federacy/[email protected].5
env:
SALUS_CONFIGURATION: "file://salus-config.yaml"
with:
report_uri: file://./salus-report.txt
report_format: txt
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
if: failure()
with:
name: Scan results
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/vulncheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@ on:
schedule:
- cron: '28 1 * * *'

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
vulncheck:
name: Analysis
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
skip: true
disable: true

0 comments on commit 07e956f

Please sign in to comment.