File tree 4 files changed +63
-0
lines changed
4 files changed +63
-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 : bash
23
+ run : |
24
+ latest_version=$(curl -s https://api.github.com/repos/software-mansion/cairo-coverage/releases/latest | jq -r .name)
25
+ echo "Latest cairo-coverage version found is $latest_version"
26
+ echo "LATEST_VERSION=$latest_version" >> $env:GITHUB_OUTPUT
27
+
28
+ - name : " Check cairo-coverage latest"
29
+ uses : asdf-vm/actions/plugin-test@v3
30
+ with :
31
+ command : cairo-coverage --version | grep "cairo-coverage ${{ steps.version.outputs.LATEST_VERSION }}"
32
+
33
+ - name : " Check cairo-coverage v0.2.0"
34
+ uses : asdf-vm/actions/plugin-test@v3
35
+ with :
36
+ skip_install : true
37
+ version : 0.2.0
38
+ command : cairo-coverage --version | grep "cairo-coverage 0.2.0"
39
+
40
+ shellcheck :
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - run : shellcheck bin/* lib/*
45
+
46
+ shfmt :
47
+ runs-on : ubuntu-latest
48
+ steps :
49
+ - uses : mfinelli/setup-shfmt@v3
50
+ - uses : actions/checkout@v4
51
+ - 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