Skip to content

Commit

Permalink
Merge pull request #17 from thistletech/syncom/gha-update-dependencies
Browse files Browse the repository at this point in the history
GHA: update actions
  • Loading branch information
syncom committed Mar 11, 2024
2 parents b64318f + 5dae5c5 commit e7409a7
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 76 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/markdownlint.yml

This file was deleted.

65 changes: 65 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: 'Sanity Checks'

on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'

jobs:
# markdownlint: https://github.com/markdownlint/markdownlint
mdl:
name: 'markdownlint'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4.1.1
- name: "Install Ruby"
# v1.172.0
uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677
with:
ruby-version: '3.3'
bundler-cache: true
- name: 'Install mdl'
run: gem install mdl
- name: 'Run mdl'
run: |
set -euxo pipefail
cd ${{ github.workspace }}/
mdl --version
for f in $(find . \( -path ./.git -o -path ./bin -o -path ./.github \) -prune -o -type f -name "*.md" -print); do
mdl "$f"
done
shellcheck:
name: "shellcheck"
strategy:
fail-fast: false
# Run on Linux
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Install shellcheck on Ubuntu
run: |
sudo apt update
sudo apt install shellcheck -y
- name: Run shellcheck
run: |
set -euxo pipefail
cd ${{ github.workspace }}/
shellcheck --version
for f in $(find . \( -path ./.git -o -path ./bin \) -prune -o -type f -print); do
if file "$f" | grep "shell script" &>/dev/null; then
shellcheck -x "$f"
fi
done
35 changes: 0 additions & 35 deletions .github/workflows/shellcheck.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# See https://help.github.com/articles/about-codeowners/
* @syncom @pldubouilh @russellchapin
* @syncom @pldubouilh @russellchapin @wmagda
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# trh-k: Thistle Release Helper with KMS Signing

[![Shellcheck](https://github.com/thistletech/trh-k/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/thistletech/trh-k/actions/workflows/shellcheck.yml)
[![Markdown Lint](https://github.com/thistletech/trh-k/actions/workflows/markdownlint.yml/badge.svg)](https://github.com/thistletech/trh-k/actions/workflows/markdownlint.yml)
[![Sanity checks](https://github.com/thistletech/trh-k/actions/workflows/sanity.yml/badge.svg)](https://github.com/thistletech/trh-k/actions/workflows/sanity.yml)

This repository contains the tools and instructions for releasing a Thistle OTA
update bundle signed with a key managed in a Cloud KMS (key management system).
Expand Down

0 comments on commit e7409a7

Please sign in to comment.