Skip to content

Commit

Permalink
Merge branch 'main' into render-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianczech committed Mar 25, 2024
2 parents 2b5ff1a + 4e52c36 commit ead76f9
Showing 1 changed file with 41 additions and 3 deletions.
44 changes: 41 additions & 3 deletions .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:

jobs:
ci:
name: Run CI
name: Continuous integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'

Expand All @@ -41,3 +41,41 @@ jobs:

- name: Test codegen
run: go test -v ./...
generate:
needs: ci
name: Generate code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'

- name: Download Go dependencies
run: go get ./... && go mod tidy

- name: Build codegen
run: go build -v ./...

- name: Execute codegen for PANGO SDK
run: go run cmd/codegen/main.go -t mksdk

- name: List generated PANGO SDK files
run: |
echo "Generated Files:"
ls ../generated/pango
- name: Workaround actions/upload-artifact#176
run: |
echo "artifacts_path=$(realpath ../generated/pango)" >> $GITHUB_ENV
- name: Upload generated files for PANGO SDK
uses: actions/upload-artifact@v4
with:
name: generated-pango
path: |
${{ env.artifacts_path }}
retention-days: 3
if-no-files-found: error

0 comments on commit ead76f9

Please sign in to comment.