diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2023-02-14 07:25:29 +0000 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2023-02-14 07:25:29 +0000 |
| commit | d0aba46ee35fb224666ff135529fcd1acb4e8c54 (patch) | |
| tree | de026de57b9e49d5e3f829b72c28fcd9fc2cbf1d /.github/workflows | |
| parent | fix(client): ユーザーページのファイル付きTLはリプライも... (diff) | |
| parent | Revert "attempt matrix build (#9927)" (#9930) (diff) | |
| download | misskey-d0aba46ee35fb224666ff135529fcd1acb4e8c54.tar.gz misskey-d0aba46ee35fb224666ff135529fcd1acb4e8c54.tar.bz2 misskey-d0aba46ee35fb224666ff135529fcd1acb4e8c54.zip | |
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/check_copyright_year.yml | 36 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 108 |
2 files changed, 72 insertions, 72 deletions
diff --git a/.github/workflows/check_copyright_year.yml b/.github/workflows/check_copyright_year.yml index 99799672f2..8daea44a83 100644 --- a/.github/workflows/check_copyright_year.yml +++ b/.github/workflows/check_copyright_year.yml @@ -1,18 +1,18 @@ -name: Check copyright year
-
-on:
- push:
- branches:
- - master
- - develop
-
-jobs:
- check_copyright_year:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3.2.0
- - run: |
- if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then
- echo "Please change copyright year!"
- exit 1
- fi
+name: Check copyright year + +on: + push: + branches: + - master + - develop + +jobs: + check_copyright_year: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.2.0 + - run: | + if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then + echo "Please change copyright year!" + exit 1 + fi diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b88b97ab0c..6a579bffc8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,54 +1,54 @@ -name: Lint
-
-on:
- push:
- branches:
- - master
- - develop
- pull_request:
-
-jobs:
- pnpm_install:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3.3.0
- with:
- fetch-depth: 0
- submodules: true
- - uses: pnpm/action-setup@v2
- with:
- version: 7
- run_install: false
- - uses: actions/setup-node@v3.6.0
- with:
- node-version: 18.x
- cache: 'pnpm'
- - run: corepack enable
- - run: pnpm i --frozen-lockfile
-
- lint:
- needs: [pnpm_install]
- runs-on: ubuntu-latest
- continue-on-error: true
- strategy:
- matrix:
- workspace:
- - backend
- - frontend
- - sw
- steps:
- - uses: actions/checkout@v3.3.0
- with:
- fetch-depth: 0
- submodules: true
- - uses: pnpm/action-setup@v2
- with:
- version: 7
- run_install: false
- - uses: actions/setup-node@v3.6.0
- with:
- node-version: 18.x
- cache: 'pnpm'
- - run: corepack enable
- - run: pnpm i --frozen-lockfile
- - run: pnpm --filter ${{ matrix.workspace }} run lint
+name: Lint + +on: + push: + branches: + - master + - develop + pull_request: + +jobs: + pnpm_install: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.3.0 + with: + fetch-depth: 0 + submodules: true + - uses: pnpm/action-setup@v2 + with: + version: 7 + run_install: false + - uses: actions/setup-node@v3.6.0 + with: + node-version: 18.x + cache: 'pnpm' + - run: corepack enable + - run: pnpm i --frozen-lockfile + + lint: + needs: [pnpm_install] + runs-on: ubuntu-latest + continue-on-error: true + strategy: + matrix: + workspace: + - backend + - frontend + - sw + steps: + - uses: actions/checkout@v3.3.0 + with: + fetch-depth: 0 + submodules: true + - uses: pnpm/action-setup@v2 + with: + version: 7 + run_install: false + - uses: actions/setup-node@v3.6.0 + with: + node-version: 18.x + cache: 'pnpm' + - run: corepack enable + - run: pnpm i --frozen-lockfile + - run: pnpm --filter ${{ matrix.workspace }} run lint |