fix(api-go): update module github.com/gin-contrib/gzip to v1.2.2 (#23… #9310
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
--- | |
name: Badge | |
'on': | |
push: | |
branches: | |
- main | |
jobs: | |
count-code-lines: | |
name: Count Code Lines | |
runs-on: ubuntu-24.04 | |
environment: production | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.2 | |
- name: Install cloc | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes cloc | |
- name: Count code lines | |
run: | | |
echo "CODE_LINE_COUNT=$(bin/count_code_lines.sh)" >> $GITHUB_ENV | |
- name: Create badge | |
uses: schneegans/dynamic-badges-action@v1.7.0 | |
with: | |
auth: ${{ secrets.GIST_TOKEN }} | |
gistID: ecff3e2b8226a5c1406b0c2e2622e968 | |
filename: code_line_count.json | |
label: code lines | |
labelColor: gray | |
message: ${{ env.CODE_LINE_COUNT }} | |
color: blue |