88 runs-on : ubuntu-22.04
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v2
11+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212 with :
13- fetch-depth : 0 # This causes all history to be fetched, which is required for calculate-version to function
13+ fetch-depth : 0 # This causes all history to be fetched, which is required for calculate-version to function
1414
1515 - name : Install Python 3.9
16- uses : actions/setup-python@v5
16+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
1717 with :
1818 python-version : 3.9
1919
@@ -30,33 +30,35 @@ jobs:
3030 run : pip install "poetry<2.0.0"
3131
3232 - name : Cache poetry packages
33- uses : actions/cache@v4
33+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3434 with :
3535 path : ~/.cache/pypoetry
36- key : ${{ runner.os }}-build-cache-poetry-packages-${{ hashFiles('**/poetry.lock') }}
36+ key : ${{ runner.os }}-build-cache-poetry-packages-${{
37+ hashFiles('**/poetry.lock') }}
3738
3839 - name : Cache node modules
39- uses : actions/cache@v4
40+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4041 with :
4142 path : ~/.npm
42- key : ${{ runner.os }}-build-cache-npm-packages-${{ hashFiles('**/package-lock.json') }}
43+ key : ${{ runner.os }}-build-cache-npm-packages-${{
44+ hashFiles('**/package-lock.json') }}
4345
4446 - name : Install repo
4547 run : make install
4648
4749 - name : Set SPEC_VERSION env var
48- run : echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
50+ run : echo ::set-env name=SPEC_VERSION::$(poetry run python
51+ scripts/calculate_version.py)
4952 env :
5053 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
5154
5255 - name : Create release (master only)
5356 id : create-release
5457 if : github.ref == 'refs/heads/master'
55- uses : actions/create-release@v1
58+ uses : actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
5659 continue-on-error : true
5760 env :
5861 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5962 with :
6063 tag_name : ${{ env.SPEC_VERSION }}
6164 release_name : ${{ env.SPEC_VERSION }}
62-
0 commit comments