Skip to content

chore(deps): bump aquasecurity/trivy-action from 0.19.0 to 0.21.0 (#93) #194

chore(deps): bump aquasecurity/trivy-action from 0.19.0 to 0.21.0 (#93)

chore(deps): bump aquasecurity/trivy-action from 0.19.0 to 0.21.0 (#93) #194

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GOPRIVATE: https://github.com/paralus
jobs:
test:
strategy:
matrix:
go-version: [1.17.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.TOKEN }}:[email protected]/paralus".insteadOf "https://github.com/paralus"
- name: Test all
run: go test -v ./...
# golangci:
# strategy:
# matrix:
# go-version: [1.17.x]
# os: [ubuntu-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: ${{ matrix.go-version }}
# - name: Granting private modules access
# run: |
# git config --global url."https://${{ secrets.TOKEN }}:[email protected]/paralus".insteadOf "https://github.com/paralus"
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v2
# with:
# version: v1.44.2