From 549849c3de840e9bc5b5a1f973fbad0ae1ad4183 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Fri, 25 Sep 2020 11:52:31 +0300 Subject: [PATCH] ci: Modernize GitHub Actions usage * New variable structure for secrets access is simpler. * Upstream luacov-coveralls has included my patch (but no release yet, so still installing from SCM rockspec) --- .github/workflows/busted.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/busted.yml b/.github/workflows/busted.yml index baf51b9..022a089 100644 --- a/.github/workflows/busted.yml +++ b/.github/workflows/busted.yml @@ -25,7 +25,7 @@ jobs: run: | luarocks install penlight ${{ matrix.penlightVersion }} luarocks install busted - luarocks install https://raw.githubusercontent.com/alerque/luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec + luarocks install https://raw.githubusercontent.com/moteus/luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec - name: Run Busted Tests run: busted -c -v - name: Report Test Coverage @@ -33,4 +33,4 @@ jobs: continue-on-error: true run: luacov-coveralls -i cassowary -e .luarocks env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ github.token }}