Skip to content

feat(examples): release an example implementation of T-V reward model. #8

feat(examples): release an example implementation of T-V reward model.

feat(examples): release an example implementation of T-V reward model. #8

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
# Allow to trigger the workflow manually
workflow_dispatch:
permissions:
contents: read
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
update-environment: true
- name: Upgrade pip
run: |
python -m pip install --upgrade pip setuptools
- name: Install safe-sora
run: |
python -m pip install -vvv --editable '.[lint]'
- name: pre-commit
run: |
make pre-commit
- name: addlicense
run: |
make addlicense