Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
e93523e
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-ad…
luis-hong Feb 20, 2026
e65820a
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-cl…
luis-hong Feb 20, 2026
60ba9bc
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-da…
luis-hong Feb 20, 2026
b939982
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-lu…
luis-hong Feb 20, 2026
93c695e
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-ph…
luis-hong Feb 20, 2026
85bc53a
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-sb…
luis-hong Feb 20, 2026
a0e804d
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-v2…
luis-hong Feb 20, 2026
35a49c4
chore: pin GitHub Actions to SHA (.github/workflows/test-framework-v2…
luis-hong Feb 20, 2026
2b4d600
chore: pin GitHub Actions to SHA (.github/workflows/test-generation-v…
luis-hong Feb 20, 2026
801277d
chore: add security-check workflow for SHA pinning CI
luis-hong Feb 23, 2026
a9b0207
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
3ec2649
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
32bfd93
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
82a5d58
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
23ab842
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
f09af1c
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
412416b
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
90b5b74
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
562e49f
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
f8656d0
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
f382ea2
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
3feabfa
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
864450f
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
4a8a2f2
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
4816e59
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8a80d61
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
2fa3342
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8dd150d
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
d7a4cda
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
d46a3b1
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
b1532e6
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
48de92d
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8d1666e
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
a3c4217
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8c0d092
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
c5d73e7
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
abc5f63
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
f2beb25
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
36bf7ed
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
17f9ce1
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
37496b6
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
67fa657
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
593d7ed
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
5f07ec5
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
0d65537
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
dfa2552
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
eccc4f6
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
3487774
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
627f177
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
9714dce
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
f53efb2
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8dd9cab
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
7a2091f
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
60c7230
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
e36ef26
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
2e70d53
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
c898505
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
5317ef6
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
b5e4b23
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
c0b0fa7
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
e33be19
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
9d51986
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
1b63c8a
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
c309a5c
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
b1d0839
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
25ab8ea
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
d701855
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
a78fbb2
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
156a48f
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
ea4d719
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
c1e6d9f
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8c577a9
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
b4943a1
chore: pin OFFICIAL, VERIFIED_CLOUD actions to SHA (.github/workflows…
luis-hong Feb 23, 2026
8812199
chore: pin EXTERNAL_THIRD_PARTY actions to SHA (.github/workflows/tes…
luis-hong Feb 23, 2026
b717cea
chore: pin EXTERNAL_THIRD_PARTY actions to SHA (.github/workflows/tes…
luis-hong Feb 23, 2026
7d66cb9
chore: pin EXTERNAL_THIRD_PARTY actions to SHA (.github/workflows/tes…
luis-hong Feb 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/security-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Security Check
on:
pull_request:

jobs:
security-check:
uses: Buzzvil/workflows/.github/workflows/security-check.yaml@main
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Check the workflow file and surrounding files
git ls-files .github/workflows/

Repository: Buzzvil/swagger-codegen

Length of output: 3348


🏁 Script executed:

# Examine the security-check.yaml file
cat -n .github/workflows/security-check.yaml

Repository: Buzzvil/swagger-codegen

Length of output: 280


🏁 Script executed:

# Search for other uses of GitHub Actions references in workflow files to identify pattern
rg "uses:" .github/workflows/ -A 0 -B 0 | head -30

Repository: Buzzvil/swagger-codegen

Length of output: 2462


🏁 Script executed:

# Look for any recent commits or PR description that clarifies the objective
git log --oneline -20 | head -20

Repository: Buzzvil/swagger-codegen

Length of output: 130


🏁 Script executed:

# Check if this file was newly added or modified in this PR
git log --oneline --follow -- .github/workflows/security-check.yaml | head -5

Repository: Buzzvil/swagger-codegen

Length of output: 130


🏁 Script executed:

# Look at git diff to understand what changed in this commit
git show 801277df9 --stat

Repository: Buzzvil/swagger-codegen

Length of output: 50381


🏁 Script executed:

# Get more details about the commit to understand the PR objective
git show 801277df9 --format=fuller | head -50

Repository: Buzzvil/swagger-codegen

Length of output: 1174


PR 목적과 일치하지 않는 mutable 참조 사용

이 PR의 목적은 공급망 보안을 위해 GitHub Actions를 SHA로 고정하는 것입니다. 그러나 새로 추가된 이 워크플로우는 @main 브랜치 참조를 사용하고 있어 PR의 목적과 모순됩니다.

Buzzvil/workflows/.github/workflows/security-check.yaml@main 대신 특정 커밋 SHA로 고정하세요.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/security-check.yaml at line 7, 현재 워크플로우는 외부 액션 참조를
`Buzzvil/workflows/.github/workflows/security-check.yaml@main`으로 사용하고 있어 SHA 고정
목적과 모순됩니다; 해당 `uses:` 참조를 특정 커밋 SHA로 교체해(예:
`Buzzvil/workflows/.github/workflows/security-check.yaml@<commit-sha>`) 불변성을
보장하고, 사용하려는 커밋 SHA를 선택한 후 커밋 해시로 정확히 대체했는지(`uses` 항목) 확인하세요.

secrets: inherit
30 changes: 15 additions & 15 deletions .github/workflows/test-framework-ada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
java: [ 8 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java }}
- name: build codegen
Expand All @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: codegen-cli
path: codegen-cli
Expand All @@ -82,12 +82,12 @@ jobs:
generate_outcome: ${{ steps.outcome.outputs.generate_outcome }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "::set-output name=generate_outcome::${{ steps.generate.outcome }}"
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand Down Expand Up @@ -144,20 +144,20 @@ jobs:
##### END DYNAMIC: Dependent on build environment
###############################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
##### DYNAMIC: Dependent on build environment
###############################################
- uses: ada-actions/toolchain@dev
- uses: ada-actions/toolchain@d6c5b8a6e7d5205b96948c84f66a2d3fe3a24707 # dev
with:
distrib: fsf
target: native
Comment on lines +160 to 163
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

ada-actions/toolchain releases tags GitHub

💡 Result:

On GitHub, ada-actions/toolchain currently has 2 releases, and the release tags match the repository tags:

  • v0.2.0 (Release “Latest”) — released Jun 9, 2020; tag commit b55aaa7; tag date shown as May 26, 2020 (tagging date). [1][2]
  • v0.1.0 — released Dec 10, 2019; tag commit e7110b4. [1][2]

You can view them here:

  • Releases page: [1]
  • Tags page: [2]

Sources: [1] [2]


🏁 Script executed:

#!/bin/bash
# Check available release tags for ada-actions/toolchain repository
curl -s "https://api.github.com/repos/ada-actions/toolchain/tags" | jq -r '.[0:15] | .[] | "\(.name) - \(.commit.sha)"' 2>/dev/null || echo "Failed to fetch tags"

Repository: Buzzvil/swagger-codegen

Length of output: 166


🏁 Script executed:

#!/bin/bash
# Check for releases (which are typically more stable than tags)
curl -s "https://api.github.com/repos/ada-actions/toolchain/releases" | jq -r '.[0:10] | .[] | "\(.tag_name) - \(.draft) - \(.prerelease)"' 2>/dev/null || echo "Failed to fetch releases"

Repository: Buzzvil/swagger-codegen

Length of output: 112


🏁 Script executed:

#!/bin/bash
# Get information about the specific commit to verify branch
curl -s "https://api.github.com/repos/ada-actions/toolchain/commits/d6c5b8a6e7d5205b96948c84f66a2d3fe3a24707" | jq '{sha: .sha, message: .commit.message, author: .commit.author.name}' 2>/dev/null || echo "Failed to fetch commit info"

Repository: Buzzvil/swagger-codegen

Length of output: 191


안정적인 릴리스 태그를 사용하세요.

ada-actions/toolchain에는 v0.2.0 (b55aaa7), v0.1.0 (e7110b4) 등 안정적인 릴리스가 존재합니다. 현재 고정된 SHA(d6c5b8a6e7d5205b96948c84f66a2d3fe3a24707)는 이러한 안정 릴리스와 일치하지 않으며, 개발 중인 커밋입니다. 최신 안정 릴리스인 v0.2.0을 사용하도록 변경하세요:

- uses: ada-actions/toolchain@v0.2.0
  with:
    distrib: fsf
    target: native
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/test-framework-ada.yml around lines 160 - 163, Replace the
pinned commit SHA for the GitHub Action usage with the stable release tag:
update the uses line
"ada-actions/toolchain@d6c5b8a6e7d5205b96948c84f66a2d3fe3a24707" to the stable
release "ada-actions/toolchain@v0.2.0" so the workflow uses the official v0.2.0
release (keep the existing with: distrib: fsf and target: native entries
unchanged).

Expand All @@ -177,12 +177,12 @@ jobs:
echo "::set-output name=build_outcome::${{ steps.build.outcome }}"
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/test-framework-clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
java: [ 8 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java }}
- name: build codegen
Expand All @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: codegen-cli
path: codegen-cli
Expand All @@ -82,12 +82,12 @@ jobs:
generate_outcome: ${{ steps.outcome.outputs.generate_outcome }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "::set-output name=generate_outcome::${{ steps.generate.outcome }}"
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand Down Expand Up @@ -144,25 +144,25 @@ jobs:
##### END DYNAMIC: Dependent on build environment
###############################################
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
##### DYNAMIC: Dependent on build environment
###############################################
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java-version }}
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@3.2
uses: DeLaGuardo/setup-clojure@876708bc5bf8a184ed3041180a0a626f406e8ef1 # 3.2
with:
cli: 1.10.1.693
lein: 2.9.1
Expand All @@ -183,12 +183,12 @@ jobs:
echo "::set-output name=build_outcome::${{ steps.build.outcome }}"
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/test-framework-dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
java: [ 8 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java }}
- name: build codegen
Expand All @@ -59,7 +59,7 @@ jobs:
cp modules/swagger-codegen-cli/target/swagger-codegen-cli.jar codegen-cli
fi
- name: upload codegen cli
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: codegen-cli
path: codegen-cli
Expand All @@ -82,12 +82,12 @@ jobs:
generate_outcome: ${{ steps.outcome.outputs.generate_outcome }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
with:
java-version: ${{ matrix.java }}
- name: Download codegen cli
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: codegen-cli
- name: generate
Expand All @@ -104,18 +104,18 @@ jobs:
echo "::set-output name=generate_outcome::${{ steps.generate.outcome }}"
echo ${{ steps.generate.outcome }} > generate_outcome_${{ env.JOB_NAME }}
- name: upload generate outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generate_outcome
path: generate_outcome_${{ env.JOB_NAME }}
- name: upload generate logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generate_logs
path: ${{ steps.generate.outputs.logs }}
- name: upload generated code
if: contains(steps.generate.outcome, 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}generated
path: ${{ steps.generate.outputs.path }}
Expand All @@ -135,20 +135,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: ${{ env.JOB_NAME }}generated
path: generated/${{ env.JOB_NAME }}
- name: Download logs
uses: actions/download-artifact@v2
uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2
with:
name: ${{ env.JOB_NAME }}generate_logs
###############################################
##### DYNAMIC: Dependent on build environment
###############################################
- uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1
###############################################
##### END DYNAMIC: Dependent on build environment
###############################################
Expand All @@ -165,12 +165,12 @@ jobs:
echo "::set-output name=build_outcome::${{ steps.build.outcome }}"
echo ${{ steps.build.outcome }} > ${{ env.JOB_NAME }}build_outcome
- name: upload build outcome
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}build_outcome
path: ${{ env.JOB_NAME }}build_outcome
- name: upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
with:
name: ${{ env.JOB_NAME }}logs
path: ${{ steps.build.outputs.logs }}
Expand Down
Loading
Loading