From f7acc7f53a54f5b5f267b6770e0e24ed444ebc7a Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 22 Mar 2024 13:08:05 +0100 Subject: Workflows: Bump windows Go and use Ruff --- .github/workflows/test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.github/workflows/test.yml') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 89b2b95..6236dab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,8 @@ name: "[Ubuntu] Test & check build" on: [ push, pull_request ] jobs: - lint-go: - name: Lint go + lint: + name: Linting runs-on: ubuntu-latest steps: @@ -17,9 +17,15 @@ jobs: with: version: latest args: "-E stylecheck,revive,gocritic --out-${NO_FUTURE}format colored-line-number" + - name: Install ruff + run: pip install ruff + - name: Run ruff + run: | + ruff check wrappers/python/eduvpn_common + ruff format --check wrappers/python/eduvpn_common - test-go: - name: Test Go + test: + name: Run Tests runs-on: ubuntu-22.04 env: WEB_FQDN: eduvpnghci -- cgit v1.2.3