firefox: add version v119.0.1 #214
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test on Windows | |
on: | |
- pull_request | |
- push | |
- workflow_call | |
- workflow_dispatch | |
jobs: | |
gsv: | |
name: Get Salt versions | |
runs-on: ubuntu-latest | |
outputs: | |
salt-latest: ${{ steps.get-salt-versions.outputs.salt-latest }} | |
steps: | |
- id: get-salt-versions | |
uses: dafyddj/get-salt-versions@v2 | |
test: | |
name: Run URL tests | |
needs: gsv | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- id: changed-files | |
name: Get changed files | |
uses: dorny/paths-filter@v2 | |
with: | |
list-files: json | |
filters: | | |
sls: | |
- added|modified: | |
- '**/*.sls' | |
- name: Setup Salt | |
if: steps.changed-files.outputs.sls == 'true' | |
uses: dafyddj/setup-salt-win@v2 | |
with: | |
salt-version: ${{ needs.gsv.outputs.salt-latest }} | |
- name: Setup `pip` dependencies | |
if: steps.changed-files.outputs.sls == 'true' | |
run: | | |
salt-pip install python-magic-bin tabulate | |
if ($LASTEXITCODE) { | |
Write-Host ("::error title=salt-pip::salt-pip returned exit code: $LASTEXITCODE") | |
exit 1 | |
} | |
- name: Run URL test | |
if: steps.changed-files.outputs.sls == 'true' | |
run: | | |
& "C:\Program Files\Salt Project\Salt\Scripts\python.exe" .\.cicd\tests.py ${{ join(fromJSON(steps.changed-files.outputs.sls_files), ' ') }} |