From 4fdcbe6f7aadcab12b70238c552522b6cc94d3f3 Mon Sep 17 00:00:00 2001 From: Hongyang Zhou Date: Mon, 14 Oct 2024 11:28:18 -0400 Subject: [PATCH] Change Matplotlib installation (#62) * Use Bash for all platforms * Use setup-python * Cache pip without setup-python * Bump patch --- .github/workflows/CI.yml | 24 ++++++++++++++++++------ Project.toml | 2 +- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bdd6efb6..6c81d31b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,10 +30,16 @@ jobs: arch: - x64 steps: - - name: Install dependencies - run: | - pip install matplotlib - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3' + - uses: actions/cache@v4 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip + - run: pip install matplotlib + shell: bash - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} @@ -51,10 +57,16 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - name: Install dependencies - run: | - pip install matplotlib - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3' + - uses: actions/cache@v4 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip + - run: pip install matplotlib + shell: bash - uses: julia-actions/setup-julia@v2 with: version: '1' diff --git a/Project.toml b/Project.toml index 7379e90f..c48bd5d3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Batsrus" uuid = "e74ebddf-6ac1-4047-a0e5-c32c99e57753" authors = ["Hongyang Zhou "] -version = "0.6.6" +version = "0.6.7" [deps] FortranFiles = "c58ffaec-ab22-586d-bfc5-781a99fd0b10"