-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from cleder/develop
1.1
- Loading branch information
Showing
34 changed files
with
437 additions
and
216 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,77 +5,16 @@ on: | |
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
|
||
name: CodeSee Map | ||
name: CodeSee | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
test_map_action: | ||
codesee: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
name: Run CodeSee Map Analysis | ||
name: Analyze the repo with CodeSee | ||
steps: | ||
- name: checkout | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
fetch-depth: 0 | ||
|
||
# codesee-detect-languages has an output with id languages. | ||
- name: Detect Languages | ||
id: detect-languages | ||
uses: Codesee-io/codesee-detect-languages-action@latest | ||
|
||
- name: Configure JDK 16 | ||
uses: actions/setup-java@v3 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).java }} | ||
with: | ||
java-version: '16' | ||
distribution: 'zulu' | ||
|
||
# CodeSee Maps Go support uses a static binary so there's no setup step required. | ||
|
||
- name: Configure Node.js 14 | ||
uses: actions/[email protected] | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).javascript }} | ||
with: | ||
node-version: '14' | ||
|
||
- name: Configure Python 3.x | ||
uses: actions/setup-python@v4 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).python }} | ||
with: | ||
python-version: '3.10' | ||
architecture: 'x64' | ||
|
||
- name: Configure Ruby '3.x' | ||
uses: ruby/setup-ruby@v1 | ||
if: ${{ fromJSON(steps.detect-languages.outputs.languages).ruby }} | ||
with: | ||
ruby-version: '3.0' | ||
|
||
# CodeSee Maps Rust support uses a static binary so there's no setup step required. | ||
|
||
- name: Generate Map | ||
id: generate-map | ||
uses: Codesee-io/codesee-map-action@latest | ||
with: | ||
step: map | ||
github_ref: ${{ github.ref }} | ||
languages: ${{ steps.detect-languages.outputs.languages }} | ||
|
||
- name: Upload Map | ||
id: upload-map | ||
uses: Codesee-io/codesee-map-action@latest | ||
with: | ||
step: mapUpload | ||
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} | ||
github_ref: ${{ github.ref }} | ||
|
||
- name: Insights | ||
id: insights | ||
uses: Codesee-io/codesee-map-action@latest | ||
- uses: Codesee-io/codesee-action@v2 | ||
with: | ||
step: insights | ||
api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} | ||
github_ref: ${{ github.ref }} | ||
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
refactor: | ||
python_version: '3.7' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2012 - 2022 Christian Ledermann | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2012 -2022 Christian Ledermann | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2012 -2022 Christian Ledermann | ||
# | ||
|
Oops, something went wrong.