Skip to content

Commit

Permalink
[ CI ] enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-hoeck committed Oct 27, 2023
1 parent 920108e commit c0dafe8
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/linters/.ecrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Disable": {
"IndentSize": true
}
}
31 changes: 31 additions & 0 deletions .github/workflows/ci-lib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Build

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

defaults:
run:
shell: bash

jobs:
build:
name: Build ${{ github.repository }} with Idris2 latest
runs-on: ubuntu-latest
env:
PACK_DIR: /root/.pack
strategy:
fail-fast: false
container: ghcr.io/stefan-hoeck/idris2-pack:latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build lib
run: pack --no-prompt install containers
33 changes: 33 additions & 0 deletions .github/workflows/ci-super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Lint

on:
push:
branches:
- '*'
tags:
- '*'
pull_request:
branches:
- main
- master

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter/slim@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IGNORE_GENERATED_FILES: true

0 comments on commit c0dafe8

Please sign in to comment.