fix(ci): normalize checkout worktree
- commit
- 3ba47fbbd1bf48783f7fb13bdffef67f1b474fbe
- author
- brice · · 2026-06-11 11:39 UTC
- parent
- d0331c0
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
1 file · +8 -0
M .github/workflows/ci.yml +8 -0
| @@ -49,6 +49,10 @@ jobs: | |||
| 49 | 49 | pacman -Syu --noconfirm | |
| 50 | 50 | pacman -S --noconfirm git go webkitgtk-6.0 gtk4 gobject-introspection base-devel brotli | |
| 51 | 51 | - uses: actions/checkout@v6 | |
| 52 | + | - name: Normalize checkout worktree | |
| 53 | + | run: | | |
| 54 | + | git reset --hard HEAD | |
| 55 | + | git clean -ffdx | |
| 52 | 56 | - name: Set up pinned Go toolchain | |
| 53 | 57 | uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | |
| 54 | 58 | with: | |
| @@ -93,6 +97,10 @@ jobs: | |||
| 93 | 97 | pacman -Syu --noconfirm | |
| 94 | 98 | pacman -S --noconfirm git go webkitgtk-6.0 gtk4 libadwaita gobject-introspection base-devel brotli dbus | |
| 95 | 99 | - uses: actions/checkout@v6 | |
| 100 | + | - name: Normalize checkout worktree | |
| 101 | + | run: | | |
| 102 | + | git reset --hard HEAD | |
| 103 | + | git clean -ffdx | |
| 96 | 104 | - name: Set up pinned Go toolchain | |
| 97 | 105 | uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | |
| 98 | 106 | with: | |
| @@ -49,6 +49,10 @@ jobs: | |||||
| 49 | pacman -Syu --noconfirm | 49 | pacman -Syu --noconfirm | ||
| 50 | pacman -S --noconfirm git go webkitgtk-6.0 gtk4 gobject-introspection base-devel brotli | 50 | pacman -S --noconfirm git go webkitgtk-6.0 gtk4 gobject-introspection base-devel brotli | ||
| 51 | - uses: actions/checkout@v6 | 51 | - uses: actions/checkout@v6 | ||
| 52 | + | - name: Normalize checkout worktree | |||
| 53 | + | run: | | |||
| 54 | + | git reset --hard HEAD | |||
| 55 | + | git clean -ffdx | |||
| 52 | - name: Set up pinned Go toolchain | 56 | - name: Set up pinned Go toolchain | ||
| 53 | uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | 57 | uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | ||
| 54 | with: | 58 | with: | ||
| @@ -93,6 +97,10 @@ jobs: | |||||
| 93 | pacman -Syu --noconfirm | 97 | pacman -Syu --noconfirm | ||
| 94 | pacman -S --noconfirm git go webkitgtk-6.0 gtk4 libadwaita gobject-introspection base-devel brotli dbus | 98 | pacman -S --noconfirm git go webkitgtk-6.0 gtk4 libadwaita gobject-introspection base-devel brotli dbus | ||
| 95 | - uses: actions/checkout@v6 | 99 | - uses: actions/checkout@v6 | ||
| 100 | + | - name: Normalize checkout worktree | |||
| 101 | + | run: | | |||
| 102 | + | git reset --hard HEAD | |||
| 103 | + | git clean -ffdx | |||
| 96 | - name: Set up pinned Go toolchain | 104 | - name: Set up pinned Go toolchain | ||
| 97 | uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | 105 | uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c | ||
| 98 | with: | 106 | with: | ||