Modify the output of Prometheus to include the amount of layers downloaded and the amount of layers left #72
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: Build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/vanilla-os/pico:main | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.22 | |
| - name: Install build dependencies | |
| run: | | |
| apt-get update | |
| apt-get install -y podman build-essential pkg-config libbtrfs-dev libdevmapper-dev libgpgme-dev | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test -v ./tests/... |