From 9dd841ebc83941e9b0931b61e3988d7b93f228f6 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 26 Jan 2021 20:16:13 -0500 Subject: [PATCH] Update coveralls job --- .github/workflows/tests-and-linters.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests-and-linters.yml b/.github/workflows/tests-and-linters.yml index 8aff05e6..83acc7b1 100644 --- a/.github/workflows/tests-and-linters.yml +++ b/.github/workflows/tests-and-linters.yml @@ -27,10 +27,6 @@ jobs: DEPENDENCY_INJECTOR_DEBUG_MODE: 1 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} steps: - - name: Get the current branch name - shell: bash - run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}" - id: branch-name - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: @@ -40,7 +36,9 @@ jobs: - run: tox env: TOXENV: coveralls - COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }} + - uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} linters: name: Run linters