1- name : ' CI and Release'
1+ name : " CI and Release"
22
33on :
44 push :
55 branches :
6- - ' * '
6+ - " * "
77 pull_request :
88
99jobs :
2929 python-version : ${{ needs.config.outputs.python-version }}
3030 - uses : ./.github/actions/code-quality
3131 with :
32- check-type : ' format'
32+ check-type : " format"
3333 source-dir : ${{ needs.config.outputs.source-dir }}
3434
3535 lint :
4242 python-version : ${{ needs.config.outputs.python-version }}
4343 - uses : ./.github/actions/code-quality
4444 with :
45- check-type : ' lint'
45+ check-type : " lint"
4646 source-dir : ${{ needs.config.outputs.source-dir }}
4747
4848 type-check :
5555 python-version : ${{ needs.config.outputs.python-version }}
5656 - uses : ./.github/actions/code-quality
5757 with :
58- check-type : ' type-check'
58+ check-type : " type-check"
5959 source-dir : ${{ needs.config.outputs.source-dir }}
6060
6161 test :
7171
7272 release :
7373 needs : [ config, setup, format, lint, type-check, test ]
74- if : github.ref == ' refs/heads/main'
74+ if : github.ref == " refs/heads/main"
7575 runs-on : ubuntu-latest
7676 steps :
7777 - uses : actions/checkout@v4
@@ -97,15 +97,15 @@ jobs:
9797 fi
9898
9999 - name : Find Previous Release
100- if : env.CREATE_RELEASE == ' true'
100+ if : env.CREATE_RELEASE == " true"
101101 run : |
102102 PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
103103 if [ -n "$PREV_TAG" ]; then
104104 echo "PREV_TAG=${PREV_TAG}" >> $GITHUB_ENV
105105 fi
106106
107107 - name : Generate Compare URL
108- if : env.CREATE_RELEASE == ' true'
108+ if : env.CREATE_RELEASE == " true"
109109 run : |
110110 if [ -n "${{ env.PREV_TAG }}" ]; then
111111 echo "URL=${{ github.server_url }}/${{ github.repository }}/compare/${{ env.PREV_TAG }}...${{ env.VERSION }}" >> $GITHUB_ENV
@@ -114,7 +114,7 @@ jobs:
114114 fi
115115
116116 - name : Generate Changelog
117- if : env.CREATE_RELEASE == ' true'
117+ if : env.CREATE_RELEASE == " true"
118118 run : |
119119 chmod +x .github/generate_changelog.sh
120120 source .github/generate_changelog.sh
@@ -128,7 +128,7 @@ jobs:
128128 echo "EOF" >> $GITHUB_ENV
129129
130130 - name : Create Release
131- if : env.CREATE_RELEASE == ' true'
131+ if : env.CREATE_RELEASE == " true"
132132 uses : softprops/action-gh-release@v2
133133 with :
134134 tag_name : ${{ env.VERSION }}
0 commit comments