mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-07-30 14:10:51 +02:00
27 lines
668 B
YAML
27 lines
668 B
YAML
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
hg: [ '5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6' ]
|
|
env:
|
|
HG_VERSION: ${{ matrix.hg }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '2.7'
|
|
- name: Install python-dev
|
|
run: sudo apt-get install -y python2.7-dev
|
|
- name: Cache check-versions script
|
|
id: cache-check-versions
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.cache/git-remote-hg
|
|
key: check-versions
|
|
- run: ./tools/check-versions hg:$HG_VERSION
|