From 9c678d6c354441905b05448b498137aedd805d32 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Tue, 12 Mar 2024 22:45:28 +0100 Subject: [PATCH] build: fix hooks build Signed-off-by: Dmitry Dygalo --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a7b83d..212e3d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,14 +2,14 @@ on: [push] jobs: example: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Test steps: # Gets a copy of the source code in your repository before running API tests - uses: actions/checkout@v3.0.0 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.12' # Installs project's dependencies - run: pip install -r apps/python/requirements.txt @@ -33,6 +33,6 @@ jobs: with: schema: 'http://127.0.0.1:5001/openapi.json' token: ${{ secrets.SCHEMATHESIS_TOKEN }} - version: '3.18.5' + version: 'latest' hooks: 'apps.python.hooks' args: '-c custom_check -E success -H "Authorization: Bearer ${{ env.ACCESS_TOKEN }}"'