test
This commit is contained in:
@@ -4,20 +4,11 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
GoLint:
|
GoLint:
|
||||||
runs-on: linux-latest
|
runs-on: go-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v6
|
|
||||||
with:
|
|
||||||
go-version: "1.26"
|
|
||||||
cache: true
|
|
||||||
cache-dependency-path: |
|
|
||||||
go.sum
|
|
||||||
go.mod
|
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v9
|
uses: golangci/golangci-lint-action@v9
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -7,22 +7,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
python:
|
python:
|
||||||
runs-on: linux-latest
|
runs-on: python-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v6
|
|
||||||
with:
|
|
||||||
python-version: "3.14"
|
|
||||||
cache: "pip"
|
|
||||||
cache-dependency-path: |
|
|
||||||
requirements.txt
|
|
||||||
requirements-dev.txt
|
|
||||||
pyproject.toml
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -V
|
python -V
|
||||||
@@ -35,4 +25,4 @@ jobs:
|
|||||||
run: ruff check .
|
run: ruff check .
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest -q
|
run: pytest -q
|
||||||
|
|||||||
Reference in New Issue
Block a user