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