Skip to content

chore(deps): update module github.com/anchore/syft/cmd/syft to v1.37.… #688

chore(deps): update module github.com/anchore/syft/cmd/syft to v1.37.…

chore(deps): update module github.com/anchore/syft/cmd/syft to v1.37.… #688

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
- 'name': 'Set up tools cache'
'uses': 'actions/cache@v4'
'with':
'path': "${{ github.workspace }}/bin"
'key': "${{ runner.os }}-${{ github.job }}-tools-${{ hashFiles('.toolbox.mk') }}"
'restore-keys': '${{ runner.os }}-${{ github.job }}-tools-'
- name: Lint
run: make lint
installer:
name: installer
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Install
run: ./install.sh
- name: Run binary
run: $HOME/bin/toolbox --version
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
- 'name': 'Set up tools cache'
'uses': 'actions/cache@v4'
'with':
'path': "${{ github.workspace }}/bin"
'key': "${{ runner.os }}-${{ github.job }}-tools-${{ hashFiles('.toolbox.mk') }}"
'restore-keys': '${{ runner.os }}-${{ github.job }}-tools-'
- name: Test
run: make test
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out