mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-10 01:42:12 +02:00
CI: Check dependencies for minimum supported version.
This commit is contained in:
parent
9c7b38d4ff
commit
280c2681be
19
.github/workflows/lint.yml
vendored
19
.github/workflows/lint.yml
vendored
|
@ -43,3 +43,22 @@ jobs:
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
skip-pkg-cache: true
|
skip-pkg-cache: true
|
||||||
skip-build-cache: true
|
skip-build-cache: true
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
name: dependencies
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "stable"
|
||||||
|
|
||||||
|
- name: Check minimum supported version of Go
|
||||||
|
run: |
|
||||||
|
go mod tidy -go=1.20 -compat=1.20
|
||||||
|
|
||||||
|
- name: Check go.mod / go.sum
|
||||||
|
run: |
|
||||||
|
git add go.*
|
||||||
|
git diff --cached --exit-code go.*
|
||||||
|
|
Loading…
Reference in a new issue