-
Notifications
You must be signed in to change notification settings - Fork 120
63 lines (55 loc) · 1.55 KB
/
test-action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Test GitHub Action
on: [pull_request]
jobs:
shallow:
name: Spell Check with Typos
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Install wget for Windows
if: matrix.os == 'windows-latest'
run: choco install wget --no-progress
- name: Prepare file with mistakes.
run: echo "Finallizes" > file.txt
- name: Test force pass with mistakes
continue-on-error: true
uses: ./
with:
files: ./file.txt
- name: Prepare file with no mistakes.
run: echo "Finalizes" > file.txt
- name: Test pass with no mistakes
uses: ./
with:
files: ./file.txt
deep:
name: Spell Check with Type w/History
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install wget for Windows
if: matrix.os == 'windows-latest'
run: choco install wget --no-progress
- name: Prepare file with mistakes.
run: echo "Finallizes" > file.txt
- name: Test force pass with mistakes
continue-on-error: true
uses: ./
with:
files: ./file.txt
- name: Prepare file with no mistakes.
run: echo "Finalizes" > file.txt
- name: Test pass with no mistakes
uses: ./
with:
files: ./file.txt