diff options
author | Kieran <kieranrobson1999@gmail.com> | 2022-06-04 18:54:24 +0000 |
---|---|---|
committer | Kieran <kieranrobson1999@gmail.com> | 2022-06-04 18:54:24 +0000 |
commit | 1a72c01403b7b3019a5b5cc56b4719847a3291a0 (patch) | |
tree | 2674a62dd83f5076bf411efba0d2d9ffa30cb0b7 | |
parent | Updated Titra (diff) | |
parent | Update main.yml (diff) | |
download | awesome-selfhosted-1a72c01403b7b3019a5b5cc56b4719847a3291a0.tar.gz awesome-selfhosted-1a72c01403b7b3019a5b5cc56b4719847a3291a0.zip |
Merge branch 'master' of https://github.com/forks-by-kieran/awesome-selfhosted
-rw-r--r-- | .github/workflows/main.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..df9428ab --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,46 @@ +name: Awesome Lint +on: + pull_request: + push: + branches: + - master + +jobs: + awesome-lint: + strategy: + fail-fast: false + matrix: + files: + - "readme.md" + runs-on: ubuntu-latest + steps: + - name: "checkout repo" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: asdf_install + uses: asdf-vm/actions/install@v1 + - name: "linting: ${{ matrix.files }}" + run: npx -y awesome-lint ${{ matrix.files }} + awesome-bot: + strategy: + fail-fast: false + matrix: + files: + - "readme.md" + runs-on: ubuntu-latest + steps: + - name: "checkout repo" + uses: actions/checkout@v2.0.0 + with: + fetch-depth: 0 + - name: "setup ruby" + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.0.1 + bundler-cache: true + - name: "install awesome-bot" + run: gem install awesome_bot + - name: "linting: ${{ matrix.files }}" + run: awesome_bot --allow-redirect ${{ matrix.files }} + |