Switch Atomic Runner to use a Service instead of a Scheduled Task #27
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: Lint | |
on: pull_request | |
jobs: | |
install-invoke: | |
name: Install Invoke-Atomic | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Run lint checks | |
shell: pwsh | |
run: | | |
Install-Module -Name PSScriptAnalyzer -Force | |
Invoke-ScriptAnalyzer -Recurse ./ -Settings ./PSScriptAnalyzerSettings.psd1 -Fix | |
- name: Check whether there are any file changes | |
shell: bash | |
run: | | |
git diff --exit-code |