File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -86,26 +86,22 @@ jobs:
8686 name : Coverage
8787
8888 timeout-minutes : 30
89- runs-on : ubuntu -latest
89+ runs-on : macos -latest
9090
9191 permissions :
92+ contents : read # Remove after making repo public
9293 id-token : write
9394
94- env :
95- KCOV_VERSION : v42
96-
9795 steps :
9896 - uses : actions/checkout@v4
9997 with :
10098 submodules : recursive
10199
102- - name : Install kcov
103- run : |
104- gh release download ${{ env.KCOV_VERSION }} --repo SimonKagstrom/kcov --pattern 'kcov-amd64.tar.gz'
105- tar -xzf kcov-amd64.tar.gz
106- sudo cp -r usr/local/* /usr/local/
107- rm -rf kcov-amd64.tar.gz usr/
108- sudo apt-get install -y kcov
100+ - run : brew install kcov
101+
102+ - uses : ./.github/actions/setup-zig
103+ with :
104+ version : ' 0.14.1'
109105
110106 - run : zig build test -Dcoverage
111107
You can’t perform that action at this time.
0 commit comments