Skip to content

Commit ada98d3

Browse files
committed
fix(ci): remove extra steps
1 parent 183ca1c commit ada98d3

File tree

2 files changed

+2
-63
lines changed

2 files changed

+2
-63
lines changed

.github/workflows/ci.yml

+2-15
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
jobs:
88
lint:
99
runs-on: ubuntu-latest
10-
1110
steps:
1211
- uses: actions/checkout@v3
1312
- uses: NTBBloodbath/[email protected]
1413
with:
1514
token: ${{ secrets.GITHUB_TOKEN }}
1615
args: lua
16+
1717
docs:
1818
runs-on: ubuntu-latest
1919
if: ${{ github.ref == 'refs/heads/main' }}
@@ -34,6 +34,7 @@ jobs:
3434
commit_user_name: "github-actions[bot]"
3535
commit_user_email: "github-actions[bot]@users.noreply.github.com"
3636
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
37+
3738
build:
3839
runs-on: ubuntu-latest
3940
if: ${{ github.ref == 'refs/heads/main' }}
@@ -50,13 +51,6 @@ jobs:
5051
neovim: true
5152
version: stable
5253

53-
- name: Setup git
54-
run: |
55-
printf 'BUILD_BRANCH=bot/build/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
56-
57-
- name: Checkout to build branch
58-
run: git checkout -b ${BUILD_BRANCH}
59-
6054
- name: Run builder script
6155
run: |
6256
mkdir -p autoload/lightline/colorscheme colors/ lua/lualine extras
@@ -76,13 +70,6 @@ jobs:
7670
steps:
7771
- uses: actions/checkout@v3
7872

79-
- name: Setup git
80-
run: |
81-
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
82-
83-
- name: Checkout to style branch
84-
run: git checkout -b ${STYLE_BRANCH}
85-
8673
- uses: JohnnyMorganz/stylua-action@v2
8774
with:
8875
version: latest

.github/workflows/format.yml

-48
This file was deleted.

0 commit comments

Comments
 (0)