forked from wesm/agentsview
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 1.12 KB
/
msys2-update-check.yml
File metadata and controls
38 lines (31 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: MSYS2 Update Check
# Periodically run Windows CI with MSYS2 updates enabled to catch
# toolchain drift, security fixes, and package metadata changes.
# If this workflow fails, update the pinned SHA and packages in ci.yml.
on:
schedule:
- cron: "0 9 * * 1" # Every Monday at 09:00 UTC
workflow_dispatch:
jobs:
windows-update-check:
runs-on: windows-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
- name: Setup MinGW (with updates)
uses: msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2
with:
msystem: MINGW64
update: true
install: mingw-w64-x86_64-gcc
path-type: inherit
- name: Stub frontend embed dir
run: mkdir -p internal/web/dist && echo ok > internal/web/dist/stub.html
- name: Run Go tests
run: go test -tags fts5 ./... -v -count=1
env:
CGO_ENABLED: "1"