Skip to content

Commit

Permalink
chore: add check size action (#1350)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored May 31, 2022
1 parent 919db01 commit 91a54ba
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check Size

on:
push:
branches: [ main, release-* ]
pull_request:
branches: [ main, release-* ]

env:
GO_VERSION: 1.17

jobs:
check_size:
name: Check Size
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Check large files
uses: actionsdesk/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filesizelimit: "524288"

0 comments on commit 91a54ba

Please sign in to comment.