mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-07 02:56:35 +00:00
13
.github/workflows/lint.yml
vendored
13
.github/workflows/lint.yml
vendored
@@ -23,7 +23,6 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VER: '^1.21.1'
|
|
||||||
PROMU_VER: '0.14.0'
|
PROMU_VER: '0.14.0'
|
||||||
PROMTOOL_VER: '2.43.0'
|
PROMTOOL_VER: '2.43.0'
|
||||||
|
|
||||||
@@ -32,9 +31,9 @@ jobs:
|
|||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VER }}
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: make test
|
run: make test
|
||||||
@@ -56,9 +55,9 @@ jobs:
|
|||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VER }}
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Install promtool
|
- name: Install promtool
|
||||||
run: |
|
run: |
|
||||||
@@ -88,9 +87,9 @@ jobs:
|
|||||||
git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VER }}
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.21.1'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Install Build deps
|
- name: Install Build deps
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user