Skip to content

Commit fcc1ddd

Browse files
authored
Merge branch 'master' into fix-sorting-behavior
2 parents 9d2e880 + daab7f7 commit fcc1ddd

261 files changed

Lines changed: 5332 additions & 2360 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
node_modules
2-
user-files
3-
server-files
4-
5-
# Yarn
1+
**/node_modules
2+
.git
3+
.lage
64
.pnp.*
75
.yarn/*
86
!.yarn/patches

.github/actions/setup/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ runs:
5252
with:
5353
repository: actualbudget/translations
5454
path: ${{ inputs.working-directory }}/packages/desktop-client/locale
55-
if: ${{ inputs.download-translations == 'true' }}
55+
persist-credentials: false
56+
if: ${{ inputs.download-translations == 'true' && !env.ACT }}
5657
- name: Remove untranslated languages
5758
run: packages/desktop-client/bin/remove-untranslated-languages
5859
shell: bash
59-
if: ${{ inputs.download-translations == 'true' }}
60+
if: ${{ inputs.download-translations == 'true' && !env.ACT }}

.github/workflows/ai-generated-release-notes.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
with:
22+
persist-credentials: false
2123
- name: Set up environment
2224
uses: ./.github/actions/setup
2325
with:

.github/workflows/autofix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false
1921
- name: Set up environment
2022
uses: ./.github/actions/setup
2123
with:

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,26 @@ concurrency:
1919
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2020

2121
jobs:
22+
setup:
23+
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
steps:
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
with:
29+
persist-credentials: false
30+
- name: Set up environment
31+
uses: ./.github/actions/setup
32+
with:
33+
download-translations: 'false'
34+
2235
api:
36+
needs: setup
2337
runs-on: ubuntu-latest
2438
steps:
2539
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
with:
41+
persist-credentials: false
2642
- name: Set up environment
2743
uses: ./.github/actions/setup
2844
with:
@@ -45,9 +61,12 @@ jobs:
4561
path: api-stats.json
4662

4763
crdt:
64+
needs: setup
4865
runs-on: ubuntu-latest
4966
steps:
5067
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
68+
with:
69+
persist-credentials: false
5170
- name: Set up environment
5271
uses: ./.github/actions/setup
5372
with:
@@ -56,16 +75,26 @@ jobs:
5675
run: cd packages/crdt && yarn build
5776
- name: Create package tgz
5877
run: cd packages/crdt && yarn pack && mv package.tgz actual-crdt.tgz
78+
- name: Prepare bundle stats artifact
79+
run: cp packages/crdt/dist/stats.json crdt-stats.json
5980
- name: Upload Build
6081
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6182
with:
6283
name: actual-crdt
6384
path: packages/crdt/actual-crdt.tgz
85+
- name: Upload CRDT bundle stats
86+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
87+
with:
88+
name: crdt-build-stats
89+
path: crdt-stats.json
6490

6591
web:
92+
needs: setup
6693
runs-on: ubuntu-latest
6794
steps:
6895
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
96+
with:
97+
persist-credentials: false
6998
- name: Set up environment
7099
uses: ./.github/actions/setup
71100
- name: Build Web
@@ -82,9 +111,12 @@ jobs:
82111
path: packages/desktop-client/build-stats
83112

84113
cli:
114+
needs: setup
85115
runs-on: ubuntu-latest
86116
steps:
87117
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
118+
with:
119+
persist-credentials: false
88120
- name: Set up environment
89121
uses: ./.github/actions/setup
90122
with:
@@ -107,9 +139,12 @@ jobs:
107139
path: cli-stats.json
108140

109141
server:
142+
needs: setup
110143
runs-on: ubuntu-latest
111144
steps:
112145
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
146+
with:
147+
persist-credentials: false
113148
- name: Set up environment
114149
uses: ./.github/actions/setup
115150
with:

.github/workflows/check.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,66 @@ concurrency:
1212
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
1313

1414
jobs:
15+
setup:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
steps:
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
with:
22+
persist-credentials: false
23+
- name: Set up environment
24+
uses: ./.github/actions/setup
25+
with:
26+
download-translations: 'false'
1527
constraints:
28+
needs: setup
1629
runs-on: ubuntu-latest
1730
steps:
1831
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+
with:
33+
persist-credentials: false
1934
- name: Set up environment
2035
uses: ./.github/actions/setup
2136
with:
2237
download-translations: 'false'
2338
- name: Check dependency version consistency
2439
run: yarn constraints
40+
- name: Check tsconfig project references are in sync
41+
run: yarn check:tsconfig-references
2542
lint:
43+
needs: setup
2644
runs-on: ubuntu-latest
2745
steps:
2846
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
47+
with:
48+
persist-credentials: false
2949
- name: Set up environment
3050
uses: ./.github/actions/setup
3151
with:
3252
download-translations: 'false'
3353
- name: Lint
3454
run: yarn lint
3555
typecheck:
56+
needs: setup
3657
runs-on: ubuntu-latest
3758
steps:
3859
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
60+
with:
61+
persist-credentials: false
3962
- name: Set up environment
4063
uses: ./.github/actions/setup
4164
with:
4265
download-translations: 'false'
4366
- name: Typecheck
4467
run: yarn typecheck
4568
validate-cli:
69+
needs: setup
4670
runs-on: ubuntu-latest
4771
steps:
4872
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
73+
with:
74+
persist-credentials: false
4975
- name: Set up environment
5076
uses: ./.github/actions/setup
5177
with:
@@ -55,21 +81,36 @@ jobs:
5581
- name: Check that the built CLI works
5682
run: node packages/sync-server/build/bin/actual-server.js --version
5783
test:
84+
needs: setup
5885
runs-on: ubuntu-latest
5986
steps:
6087
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
88+
with:
89+
persist-credentials: false
6190
- name: Set up environment
6291
uses: ./.github/actions/setup
6392
with:
6493
download-translations: 'false'
6594
- name: Test
6695
run: yarn test
96+
check-gh-actions:
97+
runs-on: ubuntu-latest
98+
permissions:
99+
security-events: write
100+
steps:
101+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
102+
with:
103+
persist-credentials: false
104+
- uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
67105

68106
migrations:
107+
needs: setup
69108
if: github.event_name == 'pull_request'
70109
runs-on: ubuntu-latest
71110
steps:
72111
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
112+
with:
113+
persist-credentials: false
73114
- name: Set up environment
74115
uses: ./.github/actions/setup
75116
with:

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+
with:
27+
persist-credentials: false
2628

2729
- name: Initialize CodeQL
2830
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1

.github/workflows/count-points.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
with:
21+
persist-credentials: false
2022
- name: Set up environment
2123
uses: ./.github/actions/setup
2224
with:

.github/workflows/cut-release-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
ref: ${{ github.event.inputs.ref || 'master' }}
34+
persist-credentials: false
3435

3536
- name: Set up environment
3637
uses: ./.github/actions/setup

.github/workflows/docker-edge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
os: [ubuntu, alpine]
3838
steps:
3939
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
with:
41+
persist-credentials: false
4042

4143
- name: Set up QEMU
4244
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0

0 commit comments

Comments
 (0)