Skip to content

Commit

Permalink
build: remove old go auth and dotnet registration packages (#175)
Browse files Browse the repository at this point in the history
* build: remove old go auth and dotnet registration packages

* ci: rename old '_rust' to ''

* chore(registration): rename dockerfile binary output

* fix(registration): rename _rust to well just registration
  • Loading branch information
aldy505 authored Apr 15, 2024
1 parent 40ae373 commit 941e4c2
Show file tree
Hide file tree
Showing 58 changed files with 193 additions and 2,922 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ python, javascript, go, csharp ]
language: [ python, javascript-typescript, go, csharp ]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
27 changes: 17 additions & 10 deletions .github/workflows/sdks-pr.yml → .github/workflows/sdks-check.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: SDK

on:
push:
branches:
- master
pull_request:

jobs:
go-sdk:
name: Go SDK
name: Go Check
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.20', '1.21' ]
go-version: [ '1.21', '1.22' ]
timeout-minutes: 30
defaults:
run:
Expand All @@ -19,9 +22,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version: ${{ matrix.go-version }}

- name: Test
run: go test -v -coverprofile=coverage.out -covermode=atomic -race ./...
Expand All @@ -34,7 +37,7 @@ jobs:
flags: sdk-go

js-sdk:
name: JavaScript SDK
name: JavaScript Check
runs-on: ubuntu-latest
container: node:lts
timeout-minutes: 30
Expand Down Expand Up @@ -69,11 +72,11 @@ jobs:
flags: sdk-javascript

dotnet-sdk:
name: .NET SDK
name: .NET Check
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '3.x', '6.x', '7.x' ]
dotnet-version: [ '3.x', '6.x', '8.x' ]
timeout-minutes: 30
defaults:
run:
Expand All @@ -82,9 +85,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
dotnet-version: ${{ matrix.dotnet-version }}

- name: Test
run: dotnet test Pesto.sln --collect "XPlat Code Coverage"
Expand All @@ -101,14 +104,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
python-version: [ '3.9', '3.11', '3.12' ]
timeout-minutes: 30
defaults:
run:
working-directory: ./sdk/python
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand Down
183 changes: 0 additions & 183 deletions .github/workflows/sdks-nightly.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/sdks-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
working-directory: ./sdk/javascript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: npm install
- run: npm run build
- run: npm publish --access public --tag latest
Expand All @@ -36,9 +36,9 @@ jobs:
working-directory: ./sdk/dotnet
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.x"
dotnet-version: "8.x"
- name: Pack nugets
run: dotnet pack Pesto -c Release --output .
- name: Push to NuGet
Expand Down
Loading

0 comments on commit 941e4c2

Please sign in to comment.