Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to a self-hosted runner for CI-CD + Add actionlint to CI #39

Merged
merged 2 commits into from
Dec 12, 2023
Merged
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
15 changes: 5 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@ on: pull_request

jobs:
Test:
runs-on: ubuntu-latest

container:
image: docker.io/library/alpine:latest
options: --privileged
runs-on:
- self-hosted
- CI-CD

steps:
- name: Clone repo
uses: actions/checkout@v4

- name: Update container
run: apk update && apk upgrade

- name: Install packages
run: apk add py3-pip ruby shellcheck && pip install codespell && gem install mdl
- name: Run actionlint
run: actionlint -ignore 'label "CI-CD" is unknown' .github/workflows/CI.yml

- name: Run codespell
run: codespell --enable-colors
Expand Down