Skip to content

Commit 0030cae

Browse files
author
guylev008
committed
update ci and readme to use the new action version
1 parent 849def5 commit 0030cae

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,59 +11,59 @@ jobs:
1111
name: Spectral ubuntu CI
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Install and run Spectral CI
16-
uses: spectralops/spectral-github-action@v2
16+
uses: spectralops/spectral-github-action@v3
1717
with:
1818
spectral-dsn: ${{ env.SPECTRAL_DSN }}
1919
spectral-args: scan --ok
2020
ubuntu-audit:
2121
name: Spectral ubuntu audit
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Install and run Spectral Audit
26-
uses: spectralops/spectral-github-action@v2
26+
uses: spectralops/spectral-github-action@v3
2727
with:
2828
spectral-dsn: ${{ env.SPECTRAL_DSN }}
2929
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok
3030
macos-ci:
3131
name: Spectral macos CI
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3535
- name: Install and run Spectral CI
36-
uses: spectralops/spectral-github-action@v2
36+
uses: spectralops/spectral-github-action@v3
3737
with:
3838
spectral-dsn: ${{ env.SPECTRAL_DSN }}
3939
spectral-args: scan --ok
4040
macos-audit:
4141
name: Spectral macos audit
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@v3
4545
- name: Install and run Spectral Audit
46-
uses: spectralops/spectral-github-action@v2
46+
uses: spectralops/spectral-github-action@v3
4747
with:
4848
spectral-dsn: ${{ env.SPECTRAL_DSN }}
4949
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok
5050
windows-ci:
5151
name: Spectral windows CI
5252
runs-on: windows-latest
5353
steps:
54-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v3
5555
- name: Install and run Spectral CI
56-
uses: spectralops/spectral-github-action@v2
56+
uses: spectralops/spectral-github-action@v3
5757
with:
5858
spectral-dsn: ${{ env.SPECTRAL_DSN }}
5959
spectral-args: scan --ok
6060
windows-audit:
6161
name: Spectral windows audit
6262
runs-on: windows-latest
6363
steps:
64-
- uses: actions/checkout@v2
64+
- uses: actions/checkout@v3
6565
- name: Install and run Spectral Audit
66-
uses: spectralops/spectral-github-action@v2
66+
uses: spectralops/spectral-github-action@v3
6767
with:
6868
spectral-dsn: ${{ env.SPECTRAL_DSN }}
6969
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Spectral Scan is a single self-contained binary, that's easy to get and use. Thi
2222
Include this Action as a step in your workflow:
2323

2424
```
25-
uses: spectral/spectral-action@v2
25+
uses: spectral/spectral-action@v3
2626
with:
2727
spectral-dsn: $SPECTRAL_DSN
2828
spectral-args: scan --ok
@@ -46,9 +46,9 @@ jobs:
4646
scan:
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v3
5050
- name: Install and run Spectral CI
51-
uses: spectralops/spectral-github-action@v2
51+
uses: spectralops/spectral-github-action@v3
5252
with:
5353
spectral-dsn: ${{ env.SPECTRAL_DSN }}
5454
spectral-args: scan --ok
@@ -68,9 +68,9 @@ jobs:
6868
scan:
6969
runs-on: ubuntu-latest
7070
steps:
71-
- uses: actions/checkout@v2
71+
- uses: actions/checkout@v3
7272
- name: Install and run Spectral Audit
73-
uses: spectralops/spectral-github-action@v2
73+
uses: spectralops/spectral-github-action@v3
7474
with:
7575
spectral-dsn: ${{ env.SPECTRAL_DSN }}
7676
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok

0 commit comments

Comments
 (0)