summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test-win.yml7
-rw-r--r--.github/workflows/test.yml14
2 files changed, 11 insertions, 10 deletions
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