From 7efbea17248cde1784a3dd3451333bd3489a2b06 Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Thu, 6 Jun 2024 15:30:18 +0800 Subject: [PATCH] chore: Upgrade actions/checkout to v4 (#293) --- .github/workflows/lint.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba8a4be..34c41cc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,14 +1,13 @@ name: Lint Awesome List -on: [pull_request, push] +on: + push: + pull_request: jobs: - awesome-lint: - name: "lint: awesome-lint" - runs-on: ubuntu-latest - steps: - - name: "checkout repo" - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: "lint: awesome-lint" - run: npx awesome-lint 'README.md' + awesome-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: npx awesome-lint 'README.md'