fix(ci): remove extra steps
This commit is contained in:
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -7,13 +7,13 @@ on:
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: NTBBloodbath/selene-action@v1.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: lua
|
||||
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
@@ -34,6 +34,7 @@ jobs:
|
||||
commit_user_name: "github-actions[bot]"
|
||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
@@ -50,13 +51,6 @@ jobs:
|
||||
neovim: true
|
||||
version: stable
|
||||
|
||||
- name: Setup git
|
||||
run: |
|
||||
printf 'BUILD_BRANCH=bot/build/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout to build branch
|
||||
run: git checkout -b ${BUILD_BRANCH}
|
||||
|
||||
- name: Run builder script
|
||||
run: |
|
||||
mkdir -p autoload/lightline/colorscheme colors/ lua/lualine extras
|
||||
@@ -76,13 +70,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup git
|
||||
run: |
|
||||
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout to style branch
|
||||
run: git checkout -b ${STYLE_BRANCH}
|
||||
|
||||
- uses: JohnnyMorganz/stylua-action@v2
|
||||
with:
|
||||
version: latest
|
||||
|
||||
Reference in New Issue
Block a user