1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-08 22:46:33 +02:00

chore: Added renovate configuration

This commit is contained in:
kvanzuijlen
2024-01-27 09:57:42 +01:00
parent 84e1cc24e3
commit dd5576f2b2
20 changed files with 2114 additions and 2251 deletions

View File

@@ -14,21 +14,25 @@ jobs:
build:
env:
COVER: true
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.21
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
# renovate: datasource=golang-version depName=golang
go-version: 1.21.6
id: go
- name: Get dependencies
env:
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION: v1.55.2
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
@@ -51,7 +55,7 @@ jobs:
./.github/workflows/test.sh
docker:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Check out code

View File

@@ -56,7 +56,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: latest
# renovate: datasource=node-version depName=node
node-version: 20
- name: Update documentation
run: |

View File

@@ -22,6 +22,7 @@ jobs:
- uses: actions/setup-node@v4
with:
# renovate: datasource=node-version depName=node
node-version: 20
cache: npm
cache-dependency-path: "./docs/package-lock.json"
@@ -40,6 +41,7 @@ jobs:
- uses: actions/setup-node@v4
with:
# renovate: datasource=node-version depName=node
node-version: 20
- name: Build docusaurus

View File

@@ -45,12 +45,18 @@ jobs:
- name: Set up go
uses: actions/setup-go@v5
with:
go-version: 1.21
# renovate: datasource=golang-version depName=golang
go-version: 1.21.6
- name: Get dependencies
env:
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION: v1.55.2
# renovate: datasource=github-tags depName=codeclimate/test-reporter
CODECLIMATE_VERSION: v0.11.1
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.0
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
# Install go depedencies