From 8f25c6274b63b180db37c95f23fbe528fa3b315e Mon Sep 17 00:00:00 2001 From: Stephan Schnabel Date: Wed, 29 Dec 2021 12:23:11 +0100 Subject: [PATCH] Update actions. --- .github/workflows/lint.yaml | 24 ------------------------ .github/workflows/snapshot.yaml | 18 ++++++++++++++++++ README.md | 2 +- 3 files changed, 19 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index 84f2e57..0000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: Lint - -"on": - workflow_dispatch: {} - push: {} - -jobs: - - yaml: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: ibiqlik/action-yamllint@v3 - with: - format: colored - strict: true - - markdown: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: docker://avtodev/markdown-lint:v1 - with: - args: /github/workspace diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index 4d9931a..4414d1c 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -5,6 +5,24 @@ name: Build push: {} jobs: + + lint-yaml: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ibiqlik/action-yamllint@v3 + with: + format: colored + strict: true + + lint-markdown: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: docker://avtodev/markdown-lint:v1 + with: + args: /github/workspace + build: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index c31b7ba..28fab9b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Micronaut Logging support -[![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.micronaut/micronaut-logging.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.kokuwa.micronaut%22%20AND%20a:%22micronaut-logging%22) [![Lint](https://github.com/kokuwaio/micronaut-logging/actions/workflows/lint.yaml/badge.svg)](https://github.com/kokuwaio/micronaut-logging/actions/workflows/lint.yaml) [![Snapshot](https://github.com/kokuwaio/micronaut-logging/actions/workflows/snapshot.yaml/badge.svg)](https://github.com/kokuwaio/micronaut-logging/actions/workflows/snapshot.yaml) +[![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.micronaut/micronaut-logging.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.kokuwa.micronaut%22%20AND%20a:%22micronaut-logging%22) [![CI](https://github.com/kokuwaio/micronaut-logging/actions/workflows/snapshot.yaml/badge.svg)](https://github.com/kokuwaio/micronaut-logging/actions/workflows/snapshot.yaml) ## Features