summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-22 13:08:05 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-03-22 13:30:41 +0100
commitf7acc7f53a54f5b5f267b6770e0e24ed444ebc7a (patch)
tree6b765d1abdd37550664d8393a230f87534bc2285 /.github
parenta4b4286ced663a71ec1501d67a524edc3b957807 (diff)
Workflows: Bump windows Go and use Ruff
Diffstat (limited to '.github')
-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