Commit 3efba42
committed
fix: add timezone setup to build workflows to fix deprecated attribute linter (#28510)
## Problem
The deprecated attribute linter was failing with timezone database errors:
```
unable to locate share/zoneinfo in the local timezone database at /etc/localtime
```
This was happening because the linter uses `Std.Time.PlainDate.now` to compare dates, which requires timezone information.
## Solution
Add the `szenius/set-timezone@v2.0` action to all build workflows to ensure proper timezone configuration in CI environments.
## Changes
- Added timezone setup step to `.github/build.in.yml`
- Regenerated all build workflow files (`build.yml`, `bors.yml`, `build_fork.yml`)
- The timezone setup runs after cleanup and before jq setup
This should fix the deprecated attribute linter failures in CI.
Co-authored-by: Kim Morrison <477956+kim-em@users.noreply.github.com>1 parent c9ec0e2 commit 3efba42
4 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
0 commit comments