Skip to content

Update GitHub Actions to use latest versions of checkout, setup-python, and upload-artifact #66

Update GitHub Actions to use latest versions of checkout, setup-python, and upload-artifact

Update GitHub Actions to use latest versions of checkout, setup-python, and upload-artifact #66

Workflow file for this run

name: Check
on: [pull_request]
jobs:
check:
name: Check rewrite function
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Run check
run: ansible-playbook -i hosts check.yaml
- name: Run tapview
if: success() || failure()
run: |
mkdir test-results
echo -n '${{ github.event.number }}' > test-results/PR
cat test-results.tap | ./.ci/tapview | tee test-results/test-results.txt
- name: Upload tapview results
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results/
retention-days: 7