mirror of
https://github.com/rockerBOO/awesome-neovim.git
synced 2025-12-05 19:27:44 -06:00
Update GitHub Actions (#1999)
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
This commit is contained in:
committed by
GitHub
parent
32dd4a378b
commit
dd14f5bba2
4
.github/workflows/links.yml
vendored
4
.github/workflows/links.yml
vendored
@@ -14,10 +14,10 @@ jobs:
|
||||
linkChecker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Restore lychee cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .lycheecache
|
||||
key: cache-lychee-${{ github.sha }}
|
||||
|
||||
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
@@ -6,16 +6,19 @@ permissions:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run awesome linter
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: npx awesome-lint@1.2.0
|
||||
|
||||
12
.github/workflows/pr-compliance-check.yml
vendored
12
.github/workflows/pr-compliance-check.yml
vendored
@@ -5,9 +5,13 @@ permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
types:
|
||||
- submitted
|
||||
|
||||
jobs:
|
||||
compliance-check:
|
||||
@@ -19,7 +23,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Check if PR is from fork
|
||||
id: fork-check
|
||||
@@ -91,7 +95,7 @@ jobs:
|
||||
|
||||
- name: Post compliance results as comment (non-fork only)
|
||||
if: steps.fork-check.outputs.is_fork == 'false'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
||||
12
.github/workflows/pr-quality-analysis.yml
vendored
12
.github/workflows/pr-quality-analysis.yml
vendored
@@ -5,7 +5,9 @@ permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
schedule:
|
||||
# Run weekly to check repository health
|
||||
- cron: '0 6 * * 1' # Monday at 6 AM UTC
|
||||
@@ -23,7 +25,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Check if PR is from fork
|
||||
if: github.event_name == 'pull_request'
|
||||
@@ -119,7 +121,7 @@ jobs:
|
||||
|
||||
- name: Post quality analysis for single PR (non-fork only)
|
||||
if: github.event_name == 'pull_request' && steps.fork-check.outputs.is_fork == 'false'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
@@ -168,7 +170,7 @@ jobs:
|
||||
|
||||
- name: Create issue for scheduled analysis
|
||||
if: github.event_name == 'schedule'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
@@ -183,7 +185,7 @@ jobs:
|
||||
});
|
||||
|
||||
- name: Upload analysis artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: quality-analysis-${{ github.run_number }}
|
||||
path: |
|
||||
|
||||
8
.github/workflows/pr-title.yml
vendored
8
.github/workflows/pr-title.yml
vendored
@@ -6,8 +6,12 @@ permissions:
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, synchronize]
|
||||
paths: [README.md]
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
paths:
|
||||
- README.md
|
||||
|
||||
jobs:
|
||||
run:
|
||||
|
||||
11
.github/workflows/typos.yml
vendored
11
.github/workflows/typos.yml
vendored
@@ -5,15 +5,18 @@ permissions:
|
||||
pull-requests: read
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
jobs:
|
||||
typos-check:
|
||||
name: Check for typos
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: crate-ci/typos@b1a1ef3893ff35ade0cfa71523852a49bfd05d19
|
||||
with:
|
||||
files: ./README.md
|
||||
@@ -23,6 +26,6 @@ jobs:
|
||||
name: Check for terminology consistency
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- name: Run terminology check script
|
||||
run: ./.github/scripts/check-terms.sh README.md
|
||||
|
||||
Reference in New Issue
Block a user