Skip to content

Commit

Permalink
Update autorest related dependencies (radius-project#7636)
Browse files Browse the repository at this point in the history
# Description
Update autorest related dependencies

## Type of change
- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).
Fixes: #issue_number

Signed-off-by: ytimocin <ytimocin@microsoft.com>
  • Loading branch information
ytimocin authored May 28, 2024
1 parent 260c376 commit 67f19d3
Show file tree
Hide file tree
Showing 6 changed files with 3,532 additions and 4,263 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
GOVER: '1.22.2'
GOVER: "1.22.2"
GOPROXY: https://proxy.golang.org
HELM_CHARTS_DIR: deploy/Chart
steps:
Expand All @@ -46,31 +46,31 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: "18"
- name: Install TypeSpec compiler
run: |
pushd typespec
npm ci
popd
- name: Install autorest
run: npm install -g autorest@3.6.1
run: npm install -g autorest@3.7.1
- name: Install oav
run: npm install -g oav@3.2.0
run: npm install -g oav@3.3.5
- name: Install mockgen
run: go install go.uber.org/mock/mockgen@v0.4.0
run: go install go.uber.org/mock/mockgen@v0.4.0
- name: Install controller-gen
run: go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0
- name: Install helm
uses: azure/setup-helm@v4
with:
version: 'v3.11.1'
version: "v3.11.1"
- name: Run Helm linter
run: |
helm lint ${{ env.HELM_CHARTS_DIR }}
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: 'v1.57.2'
version: "v1.57.2"
args: --timeout=10m
skip-cache: true
install-mode: "binary"
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
open_pull_request:
description: 'Open a pull request against the docs repository. Defaults to false for a "dry run" of the workflow that generates the docs and uploads them as artifacts.'
required: false
default: 'false'
default: "false"
type: choice
options:
- "true"
- "false"
Expand All @@ -23,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'radius-project/radius'
env:
GOVER: '1.22.2'
GOVER: "1.22.2"
GOPRIVATE: github.com/radius-project
steps:
- name: Checkout radius repository
Expand Down Expand Up @@ -55,16 +56,16 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: "18"
- name: Install TypeSpec compiler
run: |
pushd radius/typespec
npm ci
popd
- name: Install autorest
run: npm install -g autorest@3.6.1
run: npm install -g autorest@3.7.1
- name: Install oav
run: npm install -g oav@3.2.0
run: npm install -g oav@3.3.5
- name: Install mockgen
run: |
cd radius
Expand All @@ -89,9 +90,9 @@ jobs:
# Generate and upload CLI docs
- name: Generate CLI docs
run: |
find docs/docs/content/reference/cli -type f ! -name '_index.md' -delete
cd radius
go run cmd/docgen/main.go ../docs/docs/content/reference/cli
find docs/docs/content/reference/cli -type f ! -name '_index.md' -delete
cd radius
go run cmd/docgen/main.go ../docs/docs/content/reference/cli
- name: Upload CLI docs
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -119,7 +120,7 @@ jobs:
Update auto-generated documentation
body: |
## Autogenerated PR
This PR updates the auto-generated reference documentation.
GitHub SHA: ${{ github.sha }}
Expand Down
Loading

0 comments on commit 67f19d3

Please sign in to comment.