Skip to content

Convert CPU temperature to dynamic metric with labels #104

Convert CPU temperature to dynamic metric with labels

Convert CPU temperature to dynamic metric with labels #104

Workflow file for this run

---
name: linter
on: [push]
jobs:
build:
runs-on:
- self-hosted
- rpi
- arm64
if: github.actor == 'darton'
steps:
- uses: actions/checkout@v4
- name: Create virtual environment
run: |
python3 -m venv ${{ github.workspace }}/.venv --system-site-packages
${{ github.workspace }}/.venv/bin/python -m pip install --upgrade pip
${{ github.workspace }}/.venv/bin/python -m pip install -r .github/workflows/requirements.txt
${{ github.workspace }}/.venv/bin/python -m pip install ruff
- name: Verify venv
run: |
ls -la ${{ github.workspace }}/.venv/bin
- name: Run linter
run: |
${{ github.workspace }}/.venv/bin/ruff check .