Skip to content

Start a new workflow and python script that checks version #1

Start a new workflow and python script that checks version

Start a new workflow and python script that checks version #1

Workflow file for this run

name: hatch-tests
on:
pull_request:
branches: [ "master", "main" ]
paths-ignore: [ "docs/**" ]
push:
branches: [ "master", "main" ]
paths-ignore: [ "docs/**" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout current version
uses: actions/checkout@v4
path: "current"
- name: Checkout main version
uses: actions/checkout@v4
ref: "main"
path: "main"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Compare versions