GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Around25/docker-precommit-base: A docker image that allows you to run pre-commit checks for Python, Node or Go

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

docker-precommit-base

A docker image that allows you to run pre-commit checks for Python, Node or Go in a Gitlab CI job.

Usage

The image can be used as a base for your Gitlab CI jobs in order to run all the pre-commit checks defined in the configuration file.

image:
  name: "Around25/docker-precommit-base"

stages:
  - code_check

code_check:
  stage: code_check
  variables:
  script:
    # install precommit check
    - pre-commit install
    # optionally install dependencies
    - go get github.com/fzipp/gocyclo
    - go get -u golang.org/x/lint/golint
    - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2
    # run the check 
    - pre-commit run --all-files

About

A docker image that allows you to run pre-commit checks for Python, Node or Go

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.