Skip to content

fix(deps): update dependency @typespec/compiler to ^0.51.0 - autoclosed #566

fix(deps): update dependency @typespec/compiler to ^0.51.0 - autoclosed

fix(deps): update dependency @typespec/compiler to ^0.51.0 - autoclosed #566

Workflow file for this run

# Enable the CI triggers when you are ready.
#
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
env:
GOLANG_CI_LINT_VERSION: v1.54.2
GOPRIVATE: "github.com/cloudy-sky-software/*"
PROVIDER: "tailscale"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: |
git config --global url."https://praneetloke:${GH_REPO_PAT}@github.com/".insteadOf "https://github.com/"
env:
GH_REPO_PAT: ${{ secrets.GH_REPO_PAT }}
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GOLANG_CI_LINT_VERSION
make lint
- name: Test
run: make test
assert-clean-tree:
name: Check if working tree is clean
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- run: |
git config --global url."https://praneetloke:${GH_REPO_PAT}@github.com/".insteadOf "https://github.com/"
env:
GH_REPO_PAT: ${{ secrets.GH_REPO_PAT }}
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Setup DotNet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
repo: pulumi/pulumictl
tag: "latest"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install @typespec/compiler
run: |
npm i -g @typespec/compiler
cd api
npm ci
- name: Generate schema and build SDKs
run: make gen generate_schema build
- name: Check worktree clean
run: |
git update-index -q --refresh
if ! git diff-files --quiet; then
>&2 echo "error: working tree is not clean, aborting!"
git status
git diff
exit 1
fi