chore(deps): update module github.com/anchore/syft/cmd/syft to v1.38.0 #694
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |