mirror of
https://github.com/borgbackup/borg.git
synced 2026-09-02 14:43:21 +02:00
The Node 20 action runtimes are deprecated. Bump all actions to the current
major versions (matching what the master branch uses), which run on Node 24:
- actions/checkout v4 -> v7
- actions/setup-python v5 -> v6
- actions/cache v4 -> v6
- actions/upload-artifact v4 -> v7
- codecov/codecov-action v4 -> v7
- github/codeql-action/{init,analyze} v2 -> v4 (v2 is also fully deprecated)
msys2/setup-msys2 stays at v2 (current). Inputs used (token, env_vars,
name, path, languages) are unchanged across these bumps.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013bFWgq2KV6oYxmfH6Zqvp3
(cherry picked from commit 774983f6967ba13d05d09cc92ed30065e6d9de56)
27 lines
622 B
YAML
27 lines
622 B
YAML
name: Windows CI
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
msys2-ucrt64:
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: msys2/setup-msys2@v2
|
|
with:
|
|
msystem: UCRT64
|
|
update: true
|
|
- name: Install dependencies
|
|
run: ./scripts/msys2-install-deps
|
|
- name: Build
|
|
run: ./scripts/msys2-build
|
|
- name: Test
|
|
run: ./dist/borg.exe -V
|
|
- uses: actions/upload-artifact@v7
|
|
with:
|
|
name: borg-windows
|
|
path: dist/borg.exe
|