Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Nov 20, 2023
1 parent 2f799b2 commit 6d74ecc
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: "test"

on: ["workflow_dispatch"]

jobs:
exp_neap_stop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
Enable-ExperimentalFeature PSNativeCommandErrorActionPreference
$ErrorActionPreference = 'Stop'
ruff --foo
shell: "pwsh"
exp_neap_nstop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
Enable-ExperimentalFeature PSNativeCommandErrorActionPreference
ruff --foo
shell: "pwsh"
exp_eap_stop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
Enable-ExperimentalFeature PSNativeCommandErrorActionPreference
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true
ruff --foo
shell: "pwsh"
exp_eap_nstop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
Enable-ExperimentalFeature PSNativeCommandErrorActionPreference
$PSNativeCommandUseErrorActionPreference = $true
ruff --foo
shell: "pwsh"
eap_stop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true
ruff --foo
shell: "pwsh"
eap_nstop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
$PSNativeCommandUseErrorActionPreference = $true
ruff --foo
shell: "pwsh"
neap_stop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
$ErrorActionPreference = 'Stop'
ruff --foo
shell: "pwsh"
neap_nstop:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/setup-python@v4.7.1"
- run: "pip install ruff"
- run: |
ruff --foo
shell: "pwsh"

0 comments on commit 6d74ecc

Please sign in to comment.