Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

ci: set up CI #18

Merged
merged 4 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: actionlint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: aquaproj/aqua-installer@v1.1.2
with:
aqua_version: v1.19.2
- run: actionlint
14 changes: 14 additions & 0 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: prettier
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm i -g prettier
- run: prettier -c .
22 changes: 22 additions & 0 deletions .github/workflows/renovate-config-validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: renovate-config-validator

on:
pull_request:
branches:
- main
paths:
- .github/workflows/renovate-config-validator.yaml
- renovate.json
push:
branches:
- main
paths:
- .github/workflows/renovate-config-validator.yaml
- renovate.json

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.md
8 changes: 8 additions & 0 deletions aqua.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
- type: standard
ref: v3.58.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: rhysd/actionlint@v1.6.18
10 changes: 9 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:base",
"github>suzuki-shunsuke/renovate-config",
"github>aquaproj/aqua-renovate-config#1.2.5"
],
"packageRules": [
{
"matchUpdateTypes": ["digest"],
"enabled": false
}
]
}