Skip to content

ROX-16643: Set acscs-worker role (#162) #494

ROX-16643: Set acscs-worker role (#162)

ROX-16643: Set acscs-worker role (#162) #494

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@v4
- uses: actions/setup-go@v4
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/[email protected]