Skip to content

chore(main): release 0.3.0 (#271) #27

chore(main): release 0.3.0 (#271)

chore(main): release 0.3.0 (#271) #27

Workflow file for this run

name: CI
on:
pull_request: ~
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
typecheck:
name: Type check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Neovim Typecheck linter
uses: stevearc/nvim-typecheck-action@v1
with:
path: lua
level: Information
configpath: ".luarc.json"
neodev-version: stable
luacheck:
name: Lua check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
with:
args: lua --config .luacheckrc
release:
name: Release
if: ${{ github.ref == 'refs/heads/main' }}
needs:
- typecheck
- luacheck
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
package-name: fzfx.nvim
- uses: actions/checkout@v4
- uses: rickstaa/action-create-tag@v1
if: ${{ steps.release.outputs.release_created }}
with:
tag: stable
message: "Current stable release: ${{ steps.release.outputs.tag_name }}"
tag_exists_error: false
force_push_tag: true