Skip to content

Commit

Permalink
update fzf
Browse files Browse the repository at this point in the history
  • Loading branch information
mterhar committed Dec 21, 2024
1 parent c653997 commit 0f71825
Show file tree
Hide file tree
Showing 108 changed files with 15,451 additions and 4,350 deletions.
2 changes: 1 addition & 1 deletion .fzf/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
custom: ["https://paypal.me/junegunn", "https://www.buymeacoffee.com/junegunn"]
github: junegunn
22 changes: 0 additions & 22 deletions .fzf/.github/ISSUE_TEMPLATE.md

This file was deleted.

49 changes: 49 additions & 0 deletions .fzf/.github/ISSUE_TEMPLATE/issue_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Issue Template
description: Report a problem or bug related to fzf to help us improve

body:
- type: markdown
attributes:
value: ISSUES NOT FOLLOWING THIS TEMPLATE WILL BE CLOSED AND DELETED

- type: checkboxes
attributes:
label: Checklist
options:
- label: I have read through the manual page (`man fzf`)
required: true
- label: I have searched through the existing issues
required: true
- label: For bug reports, I have checked if the bug is reproducible in the latest version of fzf
required: false

- type: input
attributes:
label: Output of `fzf --version`
placeholder: e.g. 0.48.1 (d579e33)
validations:
required: true

- type: checkboxes
attributes:
label: OS
options:
- label: Linux
- label: macOS
- label: Windows
- label: Etc.

- type: checkboxes
attributes:
label: Shell
options:
- label: bash
- label: zsh
- label: fish

- type: textarea
attributes:
label: Problem / Steps to reproduce
validations:
required: true
4 changes: 4 additions & 0 deletions .fzf/.github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
15 changes: 11 additions & 4 deletions .fzf/.github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ on:
branches: [ master ]
workflow_dispatch:

permissions:
contents: read

jobs:
analyze:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report
name: Analyze
runs-on: ubuntu-latest

Expand All @@ -20,18 +27,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
14 changes: 14 additions & 0 deletions .fzf/.github/workflows/depsreview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
23 changes: 13 additions & 10 deletions .fzf/.github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,35 @@ on:
branches: [ master ]
workflow_dispatch:

permissions:
contents: read

env:
LANG: C.UTF-8

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14, 1.16]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version: "1.20"

- name: Setup Ruby
uses: ruby/setup-ruby@v1.62.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
ruby-version: 3.1.0

- name: Install packages
run: sudo apt-get install --yes zsh fish tmux

- name: Install Ruby gems
run: sudo gem install --no-document minitest:5.14.2 rubocop:1.0.0 rubocop-minitest:0.10.1 rubocop-performance:1.8.1
run: sudo gem install --no-document minitest:5.25.1 rubocop:1.65.0 rubocop-minitest:0.35.1 rubocop-performance:1.21.1

- name: Rubocop
run: rubocop --require rubocop-minitest --require rubocop-performance
Expand All @@ -42,4 +45,4 @@ jobs:
run: make test

- name: Integration test
run: make install && ./install --all && LC_ALL=C tmux new-session -d && ruby test/test_go.rb --verbose
run: make install && ./install --all && tmux new-session -d && ruby test/test_go.rb --verbose
14 changes: 7 additions & 7 deletions .fzf/.github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ on:
branches: [ master ]
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
go: [1.14, 1.16]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version: "1.20"

- name: Setup Ruby
uses: ruby/setup-ruby@v1.62.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0

Expand Down
24 changes: 24 additions & 0 deletions .fzf/.github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.SPONSORS_TOKEN }}
file: 'README.md'

- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: '.'
10 changes: 10 additions & 0 deletions .fzf/.github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Spell Check"
on: [pull_request]

jobs:
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.28.2
14 changes: 14 additions & 0 deletions .fzf/.github/workflows/winget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to Winget
on:
release:
types: [released]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: junegunn.fzf
installers-regex: '-windows_(armv7|arm64|amd64)\.zip$'
token: ${{ secrets.WINGET_TOKEN }}
Loading

0 comments on commit 0f71825

Please sign in to comment.