Skip to content

Commit

Permalink
feat: bump actions versions
Browse files Browse the repository at this point in the history
Signed-off-by: Yago Riveiro <yago.riveiro@gmail.com>
  • Loading branch information
yriveiro committed Jan 5, 2024
1 parent 4451cbf commit fe5197c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docgen.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Cherry picked from https://github.com/nvim-telescope/telescope.nvim/blob/master/.github/workflows/docgen.yml
name: Generate docs

on:
push:
branches-ignore:
- master

jobs:
build-sources:
name: Generate docs
Expand All @@ -14,17 +12,16 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-latest
url: https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: date +%F > todays-date
- name: Restore cache for today's nightly.
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: _neovim
key: ${{ runner.os }}-${{ matrix.url }}-${{ hashFiles('todays-date') }}

- name: Prepare
run: |
test -d _neovim || {
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Cherry picked from https://github.com/nvim-telescope/telescope.nvim/blob/master/.github/workflows/lint.yml
name: Linting and style checking

on: [push, pull_request]

jobs:
luacheck:
name: Luacheck
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Prepare
run: |
sudo apt-get update
Expand All @@ -18,10 +16,10 @@ jobs:
run: sudo make lint
stylua:
name: stylua
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@1.0.0
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
Expand Down

0 comments on commit fe5197c

Please sign in to comment.