Skip to content

Bump pre-commit/action from 3.0.0 to 3.0.1 #557

Bump pre-commit/action from 3.0.0 to 3.0.1

Bump pre-commit/action from 3.0.0 to 3.0.1 #557

Workflow file for this run

name: Lint
on:
push:
branches: [master]
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/setup-go@v5
with:
go-version: ">=1.18.0"
- name: Install promtool
run: |
curl -s -S -L -o /tmp/promtool https://github.com/prometheus/prometheus/releases/download/v2.36.0/prometheus-2.36.0.linux-amd64.tar.gz
tar -zxf /tmp/promtool --strip-components=1 --directory /usr/local/bin &> /dev/null
- name: Patch PATH to include GOBIN
run: echo "PATH=$(echo $PATH):/home/runner/go/bin" >> $GITHUB_ENV
- uses: pre-commit/action@v3.0.1