Skip to content

Commit edfb409

Browse files
committed
feat: add timezone setup to build workflows to fix deprecated attribute linter
The deprecated attribute linter was failing with timezone database errors: 'unable to locate share/zoneinfo in the local timezone database at /etc/localtime' This adds the szenius/set-timezone@v2.0 action to all build workflows to ensure proper timezone configuration in CI environments.
1 parent 90c0e18 commit edfb409

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/build.in.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
: # Do nothing on failure, but suppress errors
6363
fi
6464
65+
- name: Setup timezone
66+
# This is needed so we can use Lean's date library to lint deprecated attributes
67+
uses: szenius/set-timezone@v2.0
68+
6569
# The Hoskinson runners may not have jq installed, so do that now.
6670
- name: 'Setup jq'
6771
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

.github/workflows/bors.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ jobs:
7272
: # Do nothing on failure, but suppress errors
7373
fi
7474
75+
- name: Setup timezone
76+
# This is needed so we can use Lean's date library to lint deprecated attributes
77+
uses: szenius/set-timezone@v2.0
78+
7579
# The Hoskinson runners may not have jq installed, so do that now.
7680
- name: 'Setup jq'
7781
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
: # Do nothing on failure, but suppress errors
8080
fi
8181
82+
- name: Setup timezone
83+
# This is needed so we can use Lean's date library to lint deprecated attributes
84+
uses: szenius/set-timezone@v2.0
85+
8286
# The Hoskinson runners may not have jq installed, so do that now.
8387
- name: 'Setup jq'
8488
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

.github/workflows/build_fork.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ jobs:
7676
: # Do nothing on failure, but suppress errors
7777
fi
7878
79+
- name: Setup timezone
80+
# This is needed so we can use Lean's date library to lint deprecated attributes
81+
uses: szenius/set-timezone@v2.0
82+
7983
# The Hoskinson runners may not have jq installed, so do that now.
8084
- name: 'Setup jq'
8185
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

0 commit comments

Comments
 (0)