Skip to content

Bump julia-actions/setup-julia from 1 to 2 #174

Bump julia-actions/setup-julia from 1 to 2

Bump julia-actions/setup-julia from 1 to 2 #174

Workflow file for this run

name: Run benchmarks
on:
pull_request:
workflow_dispatch:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.8.5'
- uses: julia-actions/cache@v1
- name: Run benchmarks
shell: julia --color=yes --project=benchmark {0}
run: |
using Pkg
Pkg.instantiate()
using PkgBenchmark, BenchmarkCI
BenchmarkCI.judge()
- name: Print judgement
shell: julia --color=yes --project=benchmark {0}
run: |
using BenchmarkCI
BenchmarkCI.displayjudgement()
- name: Push results
shell: julia --color=yes --project=benchmark {0}
run: |
using BenchmarkCI
BenchmarkCI.pushresult(;
url = "git@github.com:JuliaPhysics/Measurements.jl.git",
)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SSH_KEY: ${{ secrets.DOCUMENTER_KEY }}