diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e13992a..54c26db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,13 +5,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Compile calculator run: gcc -fprofile-arcs -ftest-coverage -O0 -o test_calculator test_calculator.c calculator.c - name: Run tests run: ./test_calculator - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - gcov: true - gcov_include: calculator.c + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}