Skip to content

Commit 3e14a60

Browse files
authored
Merge pull request #87 from eviltester/83-sha-actions-and-pin-packagejson-versions
pinning versions and locking down
2 parents 849ed1c + c3ff81a commit 3e14a60

12 files changed

Lines changed: 1808 additions & 1042 deletions

File tree

.github/workflows/cli-deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
smoke_command: ./out/macos-arm64/anywaydata --help
4545
bun_build_flags: --compile
4646
steps:
47-
- uses: actions/checkout@v4
48-
- uses: oven-sh/setup-bun@v2
47+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
48+
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
4949
with:
5050
bun-version: 1.2.10
5151
- name: install dependencies
@@ -65,7 +65,7 @@ jobs:
6565
shell: bash
6666
run: zip -j "${{ github.workspace }}/${{ matrix.zip_name }}" "${{ github.workspace }}/${{ matrix.bin_relpath }}"
6767
- name: upload zip artifact
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
6969
with:
7070
name: ${{ matrix.zip_name }}
7171
path: ${{ github.workspace }}/${{ matrix.zip_name }}
@@ -78,10 +78,10 @@ jobs:
7878
contents: write
7979
steps:
8080
- name: download built zips
81-
uses: actions/download-artifact@v4
81+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
8282
with:
8383
path: ${{ github.workspace }}/release-assets
84-
- uses: ncipollo/release-action@v1.16.0
84+
- uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0
8585
with:
8686
tag: ${{ inputs.tag }}
8787
commit: ${{ inputs.commit }}

.github/workflows/codex-pr-review.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/node.js.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,37 @@ jobs:
1616

1717
steps:
1818
- name: Check out repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2020

2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
cache: 'npm'
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2929
with:
3030
python-version: '3.12'
3131

3232
- name: Set up Ruby
33-
uses: ruby/setup-ruby@v1
33+
uses: ruby/setup-ruby@6aaa311d81eba98ae12eaffbcb63296ace0efcde # v1
3434
with:
3535
ruby-version: '3.3'
3636

3737
- name: Set up PHP
38-
uses: shivammathur/setup-php@v2
38+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
3939
with:
4040
php-version: '8.3'
4141

4242
- name: Set up Java
43-
uses: actions/setup-java@v4
43+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
4444
with:
4545
distribution: temurin
4646
java-version: '21'
4747

4848
- name: Set up .NET
49-
uses: actions/setup-dotnet@v4
49+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
5050
with:
5151
dotnet-version: '8.0.x'
5252

@@ -92,7 +92,7 @@ jobs:
9292
run: npm run build --if-present
9393

9494
- name: Set up Bun
95-
uses: oven-sh/setup-bun@v2
95+
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
9696
with:
9797
bun-version: 1.2.10
9898

@@ -188,13 +188,13 @@ jobs:
188188
echo "AnyWayData full-site docker smoke test passed"
189189
190190
- name: Upload coverage artifact
191-
uses: actions/upload-artifact@v4
191+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
192192
with:
193193
name: coverage-report-node-${{ matrix.node-version }}
194194
path: coverage/
195195

196196
- name: Upload HTML coverage report
197-
uses: actions/upload-artifact@v4
197+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
198198
with:
199199
name: coverage-html-report-node-${{ matrix.node-version }}
200200
path: coverage/lcov-report/

apps/api/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"test": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js --config ./jest.config.cjs"
2424
},
2525
"dependencies": {
26-
"@anywaydata/core": "^1.2.0",
27-
"express": "^4.21.2",
28-
"swagger-ui-express": "^5.0.1"
26+
"@anywaydata/core": "1.2.0",
27+
"express": "4.21.2",
28+
"swagger-ui-express": "5.0.1"
2929
}
3030
}

apps/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js --config ./jest.config.cjs"
2222
},
2323
"dependencies": {
24-
"@anywaydata/core": "^1.2.0",
25-
"yargs": "^17.7.2"
24+
"@anywaydata/core": "1.2.0",
25+
"yargs": "17.7.2"
2626
}
2727
}

apps/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"test": "jest --config ../../package.json --testMatch \"<rootDir>/apps/mcp/src/*.test.js\""
2424
},
2525
"dependencies": {
26-
"@anywaydata/core": "^1.2.0"
26+
"@anywaydata/core": "1.2.0"
2727
}
2828
}

0 commit comments

Comments
 (0)