Repository navigation
refactor(sandboxer): redesign container bootstrapping #440
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
| # SPDX-FileCopyrightText: (c) 2024 The Drassi Authors | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Verify | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| GOFLAGS: -tags=containers_image_openpgp,exclude_graphdriver_btrfs | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.platform }} | |
| strategy: | |
| matrix: | |
| go-version: [ 1.27 ] | |
| platform: [ ubuntu-latest ] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| cache-dependency-path: go.work.sum | |
| - name: Test | |
| run: go list -m | xargs -I {} go test "{}/..." | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Check License Header | |
| uses: ./.github/actions/hawkeye | |
| - name: Run pre-commit | |
| uses: pre-commit/action@v3.0.1 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.work | |
| cache-dependency-path: go.work.sum | |
| - name: Run golangci-lint (core) | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.13 | |
| args: --timeout=10m | |
| working-directory: ./core | |
| only-new-issues: true | |
| experimental: jsonv2 |