Skip to content

Commit

Permalink
Merge pull request #78 from polyfem/ci-fix
Browse files Browse the repository at this point in the history
chore: Update GitHub Actions versions for continuous integration and …
  • Loading branch information
teseoch authored Jul 23, 2024
2 parents d41a6e1 + bdd8f32 commit ea3a5d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Linux
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -53,7 +53,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
config: [Debug, Release]
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -105,7 +105,7 @@ jobs:
- name: Cache build
id: cache-build
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: ${{ env.appdata }}\Mozilla\sccache
key: ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Linux
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4.1.6
with:
fetch-depth: 10

Expand All @@ -41,7 +41,7 @@ jobs:
- name: Cache Build
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-Release-${{ matrix.threading }}-cache-${{ github.sha }}
Expand Down Expand Up @@ -72,7 +72,9 @@ jobs:
lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' '*tests/*.cpp' '*tests/*.h' --output-file coverage.info
- name: Upload Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: polysolve # optional
files: coverage.info
Expand Down

0 comments on commit ea3a5d0

Please sign in to comment.