github: use standard hg packages

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras
2023-03-06 14:08:41 -06:00
parent 9b54c626bc
commit bb663c032f

View File

@@ -7,18 +7,17 @@ jobs:
strategy:
matrix:
hg: [ '5.5', '5.6', '5.7', '5.8', '5.9', '6.0', '6.1', '6.2', '6.3' ]
env:
HG_VERSION: ${{ matrix.hg }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
check-latest: true
- name: Cache check-versions script
id: cache-check-versions
uses: actions/cache@v3
- uses: actions/cache@v3
id: cache-pip
with:
path: ~/.cache/git-remote-hg
key: check-versions
- run: ./tools/check-versions $HG_VERSION
path: ~/.cache/pip
key: pip
- name: Install hg
run:
pip install mercurial==${{ matrix.hg }}
- run: make test