Skip to content

Commit 8fc33bb

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 8fc33bb

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/build.in.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
: # Do nothing on failure, but suppress errors
6363
fi
6464
65+
- name: Setup timezone
66+
uses: szenius/set-timezone@v2.0
67+
6568
# The Hoskinson runners may not have jq installed, so do that now.
6669
- name: 'Setup jq'
6770
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

.github/workflows/bors.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
: # Do nothing on failure, but suppress errors
7373
fi
7474
75+
- name: Setup timezone
76+
uses: szenius/set-timezone@v2.0
77+
7578
# The Hoskinson runners may not have jq installed, so do that now.
7679
- name: 'Setup jq'
7780
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
: # Do nothing on failure, but suppress errors
8080
fi
8181
82+
- name: Setup timezone
83+
uses: szenius/set-timezone@v2.0
84+
8285
# The Hoskinson runners may not have jq installed, so do that now.
8386
- name: 'Setup jq'
8487
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

.github/workflows/build_fork.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
: # Do nothing on failure, but suppress errors
7777
fi
7878
79+
- name: Setup timezone
80+
uses: szenius/set-timezone@v2.0
81+
7982
# The Hoskinson runners may not have jq installed, so do that now.
8083
- name: 'Setup jq'
8184
uses: dcarbone/install-jq-action@f0e10f46ff84f4d32178b4b76e1ef180b16f82c3 # v3.1.1

0 commit comments

Comments
 (0)