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-win.yml | 7 +------ .github/workflows/test.yml | 14 ++++++++++---- 2 files changed, 11 insertions(+), 10 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/test-win.yml b/.github/workflows/test-win.yml index a8c2dba..5883995 100644 --- a/.github/workflows/test-win.yml +++ b/.github/workflows/test-win.yml @@ -11,10 +11,5 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: ^1.15 + go-version: ^1.22 - run: make - - uses: actions/upload-artifact@v3 - with: - name: shared-lib - path: exports/lib/ - retention-days: 1 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