From 4b0aff7b79c93b298071a223cca1295da95b2f4a Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Thu, 23 Oct 2025 14:07:29 -0400 Subject: [PATCH 1/3] Remove windows-2022/julia workaround --- .github/workflows/main.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2db9386..ccfb6ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,9 +44,7 @@ jobs: strategy: fail-fast: false matrix: - # windows-2022 is a workaround for a julia issue as of 10/23/2025 - # https://github.com/JuliaLang/julia/issues/59931 - os: [windows-2022, ubuntu-latest, macos-latest] + os: [windows-latest, ubuntu-latest, macos-latest] env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: @@ -80,7 +78,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-2022] + os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.9", "3"] fail-fast: false steps: @@ -135,7 +133,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-2022] + os: [ubuntu-latest, macos-latest, windows-latest] fail-fast: false steps: - name: Check out github @@ -169,7 +167,7 @@ jobs: key: ${{ hashFiles('**/*.stan', 'src/*', 'stan/src/stan/version.hpp', 'Makefile') }}-${{ matrix.os }}-v${{ env.CACHE_VERSION }} - name: Run tests - if: matrix.os != 'windows-2022' + if: matrix.os != 'windows-latest' run: | cd clients/R Rscript -e "devtools::test(reporter = c(\"summary\", \"fail\"))" @@ -177,7 +175,7 @@ jobs: TINYSTAN: ${{ github.workspace }} - name: Run tests (windows) - if: matrix.os == 'windows-2022' + if: matrix.os == 'windows-latest' run: | cd clients/R Rscript -e 'devtools::test(reporter = c("summary", "fail"))' @@ -190,7 +188,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-2022] + os: [ubuntu-latest, macos-latest, windows-latest] julia-version: ["1"] fail-fast: false steps: From 7602be9e155fff5ce969ade784cc1f5ac91c7fec Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Tue, 28 Oct 2025 12:37:09 -0400 Subject: [PATCH 2/3] cache version --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ccfb6ba..b915c8d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: {} env: - CACHE_VERSION: 5 + CACHE_VERSION: 7 # only run one copy per PR concurrency: From e61cfa425c50bf519842e23bef782db4a1f342fe Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Fri, 14 Nov 2025 15:06:57 -0500 Subject: [PATCH 3/3] Cache version --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b915c8d..10db304 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: {} env: - CACHE_VERSION: 7 + CACHE_VERSION: 8 # only run one copy per PR concurrency: