All Projects → cedrickring → Golang Action

cedrickring / Golang Action

Licence: apache-2.0
A GitHub Action to run Go commands

Programming Languages

shell
77523 projects
golang
3204 projects

Labels

Projects that are alternatives of or similar to Golang Action

depsbot
⚙️ GitHub action to check freshness of your deno dependencies
Stars: ✭ 28 (-76.47%)
Mutual labels:  ci, action
gitavscan
Git Anti-Virus Scan Action - Detect trojans, viruses, malware & other malicious threats.
Stars: ✭ 23 (-80.67%)
Mutual labels:  ci, action
Pipelines
Build pipelines for automation, deployment, testing...
Stars: ✭ 105 (-11.76%)
Mutual labels:  ci
Mirrorgate
MirrorGate DevOps Dashboard
Stars: ✭ 117 (-1.68%)
Mutual labels:  ci
Kicad Action Scripts
Some KiCad plugins in Python
Stars: ✭ 111 (-6.72%)
Mutual labels:  action
Gitlab Dashboard
📺 TV dashboard for a global view on Gitlab Pipelines
Stars: ✭ 107 (-10.08%)
Mutual labels:  ci
Flint
Fast and configurable filesystem (file and directory names) linter
Stars: ✭ 115 (-3.36%)
Mutual labels:  ci
Astromenace
Hardcore 3D space scroll-shooter with spaceship upgrade possibilities.
Stars: ✭ 104 (-12.61%)
Mutual labels:  action
Cypress Example Docker Circle
Cypress + Docker + CircleCI = ❤️
Stars: ✭ 119 (+0%)
Mutual labels:  ci
Action Send Mail
⚙️ A GitHub Action to send an email to multiple recipients
Stars: ✭ 111 (-6.72%)
Mutual labels:  action
Lastbackend
System for containerized apps management. From build to scaling.
Stars: ✭ 1,536 (+1190.76%)
Mutual labels:  ci
Lxc Ci
LXC continuous integration and build scripts
Stars: ✭ 110 (-7.56%)
Mutual labels:  ci
Go Gitlab Client
A Go gitlab API client & powerful CLI written in Go
Stars: ✭ 107 (-10.08%)
Mutual labels:  ci
Kontinuous
The Kubernetes Continuous Integration & Delivery Platform (CI/CD) 🔄
Stars: ✭ 115 (-3.36%)
Mutual labels:  ci
Terraform Multienv
A template for maintaining a multiple environments infrastructure with Terraform. This template includes a CI/CD process, that applies the infrastructure in an AWS account.
Stars: ✭ 107 (-10.08%)
Mutual labels:  ci
Git Webhook Ci
A Git (github/gitee) webhook callback server to do stuff e.g. fetch new code (poor man CI)
Stars: ✭ 118 (-0.84%)
Mutual labels:  ci
Buildpipeline
AWS-powered serverless build, test and deploy pipeline ft. multiple environments
Stars: ✭ 105 (-11.76%)
Mutual labels:  ci
Moderncppci
This is an example of doing a Modern C++ project with CI
Stars: ✭ 109 (-8.4%)
Mutual labels:  ci
Essential Netty In Action
It is a book about the Essentials of Norman Maurer's Netty in Action.《Netty 实战(精髓)》是对 Norman Maurer 的 《Netty in Action》的一个精简
Stars: ✭ 1,502 (+1162.18%)
Mutual labels:  action
Ci Matters
Integration (comparison) of different continuous integration services on Android project
Stars: ✭ 119 (+0%)
Mutual labels:  ci

Actions Status

Golang Action

This Action allows you to run Go commands with your code. It will automatically setup your workspace (~/go/src/github.com/<your-name>/<repo>) before the command is run.

How to use

Create a workflow.yaml file in .github/workflows with the following contents:

on: push
name: My cool Action
jobs:
  checks:
    name: run
    runs-on: ubuntu-latest
    steps:
    - uses: actions/[email protected]

    - name: run
      uses: cedrickring/[email protected]

If no args are specified and a Makefile is detected, this action will run make. Otherwise go test and go build will be run. To run a custom command, just use:

steps:
- name: Run custom command
  uses: cedrickring/[email protected]
  with:
    args: make my-target

If your repository's import name is different from the path on GitHub, provide the import name by adding an environment variable IMPORT=import/name. This may be useful if you have forked an open source Go project:

steps:
- name: Run with custom import path
  uses: cedrickring/[email protected]
  env:
    IMPORT: "root/repo"

To use Go Modules add GO111MODULE=on to the step:

steps:
- name: Go Modules
  uses: cedrickring/[email protected]
  env:
    GO111MODULE: "on"

If your go project is not located at the root of the repo you can also specify environment variable PROJECT_PATH:

steps:
- name: Custom project path
  uses: cedrickring/[email protected]
  env:
    PROJECT_PATH: "./path/in/my/project"

To use a specific golang version (1.10, 1.11, 1.12, 1.13, 1.14, 1.15), defaults to the latest version:

steps:
- name: Use Go 1.11
  uses: cedrickring/golang-action/[email protected]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].