Skip to content

Commit

Permalink
Update GitHub Action Versions
Browse files Browse the repository at this point in the history
Co-authored-by: Mika Vilpas <[email protected]>
  • Loading branch information
github-actions[bot] and mikavilpas committed May 31, 2024
1 parent d8ad16b commit 6c013b2
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linkspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: runner / linkspector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.6
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: selene
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
- uses: NTBBloodbath/[email protected]
with:
# Github secret token
Expand All @@ -21,4 +21,4 @@ jobs:
name: markdownlint
runs-on: ubuntu-latest
steps:
- uses: DavidAnson/markdownlint-cli2-action@v15
- uses: DavidAnson/markdownlint-cli2-action@v16.0.0
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
- uses: googleapis/release-please-action@v4.1.1
with:
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-22.04
name: prettier
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.6
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
- uses: actions/setup-node@v4.0.2
with:
node-version-file: .nvmrc
- run: npm ci
Expand All @@ -22,7 +22,7 @@ jobs:
name: stylua
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.6
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
manager: sudo apt-get
packages: -y ripgrep
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.6
- run: date +%F > todays-date
- name: Restore from today's cache
uses: actions/cache@v4
uses: actions/cache@v4.0.2
with:
path: _neovim
key:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,37 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v4.1.6

- name: Checkout dependency neodev # get neodev and neovim/runtime for builtin types
uses: actions/checkout@v4
uses: actions/checkout@v4.1.6
with:
repository: "folke/neodev.nvim"
path: "deps/neodev.nvim"

- name: Checkout dependency plenary
uses: actions/checkout@v4
uses: actions/checkout@v4.1.6
with:
repository: "nvim-lua/plenary.nvim"
path: "deps/plenary.nvim"

- name: Checkout neovim for type annotations
uses: actions/checkout@v3
uses: actions/checkout@v4.1.6
with:
repository: "neovim/neovim"
path: "deps/neovim"

- uses: leafo/gh-actions-lua@v9 # get luarocks dependencies for their types (eg `PathlibPath`)
- uses: leafo/gh-actions-lua@v10.0.0 # get luarocks dependencies for their types (eg `PathlibPath`)
with:
luaVersion: "5.1"
- uses: leafo/gh-actions-luarocks@v4
- uses: leafo/gh-actions-luarocks@v4.3.0
- name: install dependencies
run: |
luarocks init
luarocks install --only-deps ./*.rockspec
- name: Typecheck the code base
uses: mrcjkb/lua-typecheck-action@v0.2.1
uses: mrcjkb/lua-typecheck-action@v1.0.0
with:
configpath: .github/workflows/.luarc.json
directories: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.6
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_UPDATER_SECRET }}
Expand Down

0 comments on commit 6c013b2

Please sign in to comment.