File tree 4 files changed +64
-0
lines changed
4 files changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ * @ ksew1 @ THenry14
Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " monthly"
7
+ groups :
8
+ actions :
9
+ patterns :
10
+ - " *"
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+ merge_group :
9
+
10
+ jobs :
11
+ test :
12
+ name : test ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ os :
16
+ - ubuntu-latest
17
+ - macos-latest
18
+ runs-on : ${{ matrix.os }}
19
+ steps :
20
+ - name : " Fetch latest cairo-coverage version from GitHub releases"
21
+ id : version
22
+ shell : pwsh
23
+ run : |
24
+ $location = (Invoke-WebRequest -Uri "https://github.com/software-mansion/cairo-coverage/releases/latest" -Method Head -MaximumRedirection 0 -SkipHttpErrorCheck -ErrorAction Ignore).Headers.Location
25
+ $latest_version = ($location -replace '^.*/v','')
26
+ echo "Latest cairo-coverage version found is $latest_version"
27
+ echo "LATEST_VERSION=$latest_version" >> $env:GITHUB_OUTPUT
28
+
29
+ - name : " Check cairo-coverage latest"
30
+ uses : asdf-vm/actions/plugin-test@v3
31
+ with :
32
+ command : cairo-coverage --version | grep "cairo-coverage ${{ steps.version.outputs.LATEST_VERSION }}"
33
+
34
+ - name : " Check cairo-coverage v0.2.0"
35
+ uses : asdf-vm/actions/plugin-test@v3
36
+ with :
37
+ skip_install : true
38
+ version : 0.2.0
39
+ command : cairo-coverage --version | grep "cairo-coverage 0.2.0"
40
+
41
+ shellcheck :
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+ - run : shellcheck bin/* lib/*
46
+
47
+ shfmt :
48
+ runs-on : ubuntu-latest
49
+ steps :
50
+ - uses : mfinelli/setup-shfmt@v3
51
+ - uses : actions/checkout@v4
52
+ - run : shfmt --diff .
Original file line number Diff line number Diff line change
1
+ external-sources =true
You can’t perform that action at this time.
0 commit comments