Skip to content

Commit 5527ce8

Browse files
committed
Updated codesee
1 parent 4b2e85a commit 5527ce8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/codesee-arch-diagram.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,19 @@ jobs:
5454
with:
5555
ruby-version: '3.0'
5656

57-
# CodeSee Maps Rust support uses a static binary so there's no setup step required.
57+
# We need the rust toolchain because it uses rustc and cargo to inspect the package
58+
- name: Configure Rust 1.x stable
59+
uses: actions-rs/toolchain@v1
60+
if: ${{ fromJSON(steps.detect-languages.outputs.languages).rust }}
61+
with:
62+
toolchain: stable
5863

5964
- name: Generate Map
6065
id: generate-map
6166
uses: Codesee-io/codesee-map-action@latest
6267
with:
6368
step: map
69+
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
6470
github_ref: ${{ github.ref }}
6571
languages: ${{ steps.detect-languages.outputs.languages }}
6672

@@ -71,7 +77,7 @@ jobs:
7177
step: mapUpload
7278
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
7379
github_ref: ${{ github.ref }}
74-
80+
7581
- name: Insights
7682
id: insights
7783
uses: Codesee-io/codesee-map-action@latest

0 commit comments

Comments
 (0)