• Stars
    star
    1
  • Language
    Shell
  • License
    MIT License
  • Created almost 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Shared GitHub Actions

@andrewmcodes/actions

Composite Actions and Shared Workflows for GitHub Actions

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. License: MIT GitHub commit activity

Installation

As of now, this is only meant for my personal use, and is WIP, but usage instructions are below that will ensure if you do use this, it won't change out from under you.

Warning If you decide to use one of these actions, make sure to pin the action to a specific SHA or tag.

To be totally safe, you can fork this repo and use your own fork as the source of the action while I continue to iterate on this.

Composite Actions

  • Setup
    • setup-node
    • setup-ruby
  • Linters
    • brakeman
    • bundler-audit
    • standard
  • Release
    • release-please-simple

Usage/Examples

name: "Ruby on Rails CI"
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
jobs:
  test:
    runs-on: ubuntu-latest
    services:
      postgres:
        image: postgres:11-alpine
        ports:
          - "5432:5432"
        env:
          POSTGRES_DB: rails_test
          POSTGRES_USER: rails
          POSTGRES_PASSWORD: password
    env:
      RAILS_ENV: test
      DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      # Add or replace dependency steps here
      - name: Setup Ruby
        uses: andrewmcodes/actions/setup-ruby@main
      # Add or replace database setup steps here
      - name: Set up database schema
        run: bin/rails db:schema:load
      # Add or replace test runners here
      - name: Run tests
        run: bin/rake

  lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Setup Ruby
        uses: andrewmcodes/actions/setup-ruby@main

      - name: Setup Node
        uses: andrewmcodes/actions/setup-node@main

      - name: Bundler Audit
        uses: andrewmcodes/actions/bundler-audit@main

      - name: Brakeman
        uses: andrewmcodes/actions/brakeman@main

      - name: Standard
        uses: andrewmcodes/actions/standard@main

Contributing

Contributions will be welcome once this becomes a little more stable.

More Repositories

1

obsidian-beginner-vault-template

A minimal template for your first Obsidian vault aimed at setting good defaults.
46
star
2

awesome-lucky

A collection of awesome Lucky libraries, tools, frameworks and resources
45
star
3

standardrb-action

StandardRB Action: A GitHub Action to run StandardRB against your code!
Ruby
32
star
4

shotgun

Ready to go Rails App with TailwindCSS, ViewComponent, Devise, and more!
Ruby
25
star
5

warp-one-dark-darker

Warp theme based on One Dark Darker
23
star
6

pruner

CLI tool to delete Git branches
Ruby
20
star
7

stimulus_reflex_table_filter

Demo app showing how you can filter a table in a Ruby on Rails app with StimulusReflex
Ruby
17
star
8

bundler-audit-action

Bundler Audit Action
Dockerfile
16
star
9

awesome-bridgetown

A curated list of awesome things related to Bridgetown
13
star
10

rails-extension-power-pack

An extension pack of my favorite VS Code extensions for Ruby on Rails development.
Ruby
11
star
11

forem_lite

A simple tool to help you get articles from Forem/Dev.to
Ruby
11
star
12

dishwasher

A CLI tool to help you easily delete forked repositories.
Ruby
10
star
13

andrewm.codes

My personal website built on Bridgetown
HTML
9
star
14

bridgetown-inline-svg

ARCHIVED migrated to bridgetown-svg-inliner
Ruby
9
star
15

bridgetown-netlify-cms-starter

A template to help you get started with Bridgetown + Netlify CMS
JavaScript
8
star
16

awesome-stars

An Awesome List of my Awesome Stars
7
star
17

bridgetown-gh-pages-action

ARCHIVED See link below, this action is now longer needed following the release of Bridgetown V1
Shell
7
star
18

andrewmcodes

andrewmcodes public readme
5
star
19

andrewmcodes_gem

My gem card
Ruby
4
star
20

haml-lint-action

A GitHub Action that lints your HAML code with HAML Lint!
Ruby
3
star
21

bridgetown-torchlight-demo

A demo Bridgetown website that has Torchlight syntax highlighting configured!
JavaScript
3
star
22

alfred-themes

My personal Alfred 5 themes
3
star
23

redux-on-rails

I DIDNT WANT THIS BUT YOU MADE ME DO IT
Ruby
3
star
24

dotfiles

My personal dot and settings files
Shell
3
star
25

rails-cable-route-bug-reproduction

Ruby
2
star
26

release-please-demo

Ruby
2
star
27

turbo_debug

Ruby
2
star
28

.github

Default community health files for @andrewmcodes
2
star
29

vercel_ruby

WIP Vercel Serverless Functions written in Ruby
Ruby
2
star
30

.dotfiles-update

A temporary repo where I am rebuilding my dotfiles
Shell
2
star
31

prettier-config

My personal Prettier configuration
JavaScript
1
star
32

bridgetown-gh-pages-demo

Demo of the new gh-pages configuration in Bridgetown v1.0
JavaScript
1
star
33

github-actions

MOVED TO andrewmcodes/actions
1
star
34

advent_of_code

Solutions to Advent of Code
Ruby
1
star
35

vscode-tailwindcss-extension-pack

An extension pack for VSCode of extensions for developing with Tailwind CSS.
1
star
36

warp-radix

Warp theme based on the Radix color system
1
star
37

remote-ruby-vault

Obsidian vault of Remote Ruby episodes for personal research
JavaScript
1
star
38

bridgetown-esbuild-minifySyntax

Benchmarking usage of minifySyntax with esbuild and Bridgetown
JavaScript
1
star