@@ -29,20 +29,20 @@ jobs:
2929 timeout-minutes : 20
3030 steps :
3131 - name : Check out the repo
32- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
32+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3333 with :
3434 fetch-depth : 0
3535
3636 - name : Set up Docker Buildx
37- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
37+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3838 with :
3939 buildkitd-config : .github/buildkit.toml
4040
4141 - name : " Build image"
42- uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
42+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
4343 with :
4444 context : .
45- file : ./Dockerfile${{ matrix.flavor == 'debian' && '.debian' || '' }}
45+ file : ./build/docker/ Dockerfile${{ matrix.flavor == 'debian' && '.debian' || '' }}
4646 tags : crowdsecurity/crowdsec:test${{ matrix.flavor == 'full' && '' || '-' }}${{ matrix.flavor == 'full' && '' || matrix.flavor }}
4747 target : ${{ matrix.flavor == 'debian' && 'full' || matrix.flavor }}
4848 platforms : linux/amd64
@@ -54,21 +54,21 @@ jobs:
5454 run : docker network create net-test
5555
5656 - name : Install uv
57- uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244
57+ uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
5858 with :
5959 version : 0.5.24
6060 enable-cache : true
61- working-directory : " ./docker/test"
61+ working-directory : " ./build/ docker/test"
6262
6363 - name : " Set up Python"
64- uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
64+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
6565 with :
66- python-version-file : " ./docker/test/.python-version"
66+ python-version-file : " ./build/ docker/test/.python-version"
6767
6868 # running serially to reduce test flakiness
6969 - name : Lint and run the tests
7070 run : |
71- cd docker/test
71+ cd build/ docker/test
7272 uv sync --all-extras --dev --locked
7373 uv run ruff check
7474 uv run basedpyright
0 commit comments