Skip to content

build(deps): bump github.com/canonical/go-efilib from 0.3.1-0.20220815143333-7e5151412e93 to 0.9.7 #380

build(deps): bump github.com/canonical/go-efilib from 0.3.1-0.20220815143333-7e5151412e93 to 0.9.7

build(deps): bump github.com/canonical/go-efilib from 0.3.1-0.20220815143333-7e5151412e93 to 0.9.7 #380

Workflow file for this run

name: CI tests
on:
- push
- pull_request
jobs:
pre-commit:
strategy:
fail-fast: false
matrix:
go:
- 1.18.x
- 1.22.x
os:
- ubuntu-20.04
- ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Setup dependencies
run: |
sudo apt install libefivar-dev libefiboot-dev python3-pip golint
pip3 install pre-commit
- name: Run pre-commit
run: |
go get .
~/.local/bin/pre-commit run -a
- name: Coverage
run: go test -v -coverprofile=profile.cov ./...
- name: Send coverage to Coveralls (parallel)
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
parallel: true
flag-name: ${{ matrix.os }}-go-${{ matrix.go }}
finish:
needs: pre-commit
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls finished
uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true