Skip to content

Commit b40149b

Browse files
committed
ci(): Add GitHub Actions CI
Migrate to GitHub Actions for CI.
1 parent ef641a9 commit b40149b

File tree

2 files changed

+25
-49
lines changed

2 files changed

+25
-49
lines changed

.drone.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/blank.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Powershell CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
tags: [ "v*.*.*" ]
7+
pull_request:
8+
branches: [ "main" ]
9+
schedule:
10+
- cron: "0 0 * * 0"
11+
12+
jobs:
13+
lint:
14+
if: ${{ github.event_name == 'pull_request' }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: linter
19+
shell: pwsh
20+
run: ./Invoke-Linter.ps1 -exitCodeOnError
21+
if: always()
22+
- name: formatter
23+
shell: pwsh
24+
run: ./Invoke-Formatter.ps1 -exitCodeOnFormat
25+
if: always()

0 commit comments

Comments
 (0)