Update vendor #658
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- feature_* | |
pull_request: | |
branches: | |
- main | |
- develop | |
- feature_* | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: Test | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libblkid-dev parted dosfstools libsystemd-dev util-linux | |
sudo env "PATH=$PATH" go test -v ./... -failfast -coverprofile=coverage.out -covermode=atomic | |
sudo chmod 666 coverage.out | |
- name: Code coverage | |
run: bash <(curl -s https://codecov.io/bash) | |
- name: Lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: "v1.62" |