Simplify interpretation of produced metrics #121
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: pre-commit | |
on: | |
pull_request: | |
push: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.x' | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
check-latest: true | |
cache: true | |
- name: "Install golangci-lint" | |
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" v1.54.2 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y libdevmapper-dev libbtrfs-dev | |
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |