Skip to content

Commit

Permalink
Merge pull request #100 from albertomercurio/dependabot/github_action…
Browse files Browse the repository at this point in the history
…s/julia-actions/cache-2

Bump julia-actions/cache from 1 to 2
  • Loading branch information
albertomercurio authored May 6, 2024
2 parents 9d7f474 + 4dcf581 commit d04d1da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/Benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ permissions:
contents: write
deployments: write

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
benchmark:
runs-on: ubuntu-latest
Expand All @@ -37,17 +31,7 @@ jobs:
with:
version: '1'
arch: x64
# - uses: julia-actions/cache@v1
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/cache@v2
- name: Run benchmark
run: |
cd benchmarks
Expand All @@ -63,10 +47,9 @@ jobs:
name: Benchmark Results
tool: "julia"
output-file-path: benchmarks/benchmarks_output.json
summary-always: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-always: true
alert-threshold: "200%"
fail-on-alert: true
benchmark-data-dir-path: benchmarks
max-items-in-chart: 100
auto-push: ${{ github.event_name != 'pull_request' }}
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v1
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
Expand Down

0 comments on commit d04d1da

Please sign in to comment.