Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cedrickring committed Mar 6, 2020
1 parent c904db7 commit 5e9c58f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![](https://img.shields.io/github/release/cedrickring/golang-action.svg)](https://github.com/cedrickring/golang-action/releases/latest) [![Actions Status](https://github.com/cedrickring/golang-action/workflows/Build%20on%20Push/badge.svg)](https://github.com/cedrickring/golang-action/actions)
[![](https://img.shields.io/github/release/ce1rickring/golang-action.svg)](https://github.com/cedrickring/golang-action/releases/latest) [![Actions Status](https://github.com/cedrickring/golang-action/workflows/Build%20on%20Push/badge.svg)](https://github.com/cedrickring/golang-action/actions)

# Golang Action

Expand All @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@master

- name: run
uses: cedrickring/golang-action@1.5.0
uses: cedrickring/golang-action@1.5.1
```
Expand All @@ -27,7 +27,7 @@ To run a custom command, just use:
```yaml
steps:
- name: Run custom command
uses: cedrickring/golang-action@1.5.0
uses: cedrickring/golang-action@1.5.1
with:
args: make my-target
```
Expand All @@ -39,7 +39,7 @@ source Go project:
```yaml
steps:
- name: Run with custom import path
uses: cedrickring/golang-action@1.5.0
uses: cedrickring/golang-action@1.5.1
env:
IMPORT: "root/repo"
```
Expand All @@ -49,7 +49,7 @@ To use Go Modules add `GO111MODULE=on` to the step:
```yaml
steps:
- name: Go Modules
uses: cedrickring/golang-action@1.5.0
uses: cedrickring/golang-action@1.5.1
env:
GO111MODULE: "on"
```
Expand All @@ -59,7 +59,7 @@ If your go project is not located at the root of the repo you can also specify e
```yaml
steps:
- name: Custom project path
uses: cedrickring/golang-action@1.5.0
uses: cedrickring/golang-action@1.5.1
env:
PROJECT_PATH: "./path/in/my/project"
```
Expand All @@ -68,5 +68,5 @@ To use a specific golang version (1.10, 1.11, 1.12, 1.13), defaults to the lates
```yaml
steps:
- name: Use Go 1.11
uses: cedrickring/golang-action/go1.11@1.5.0
uses: cedrickring/golang-action/go1.11@1.5.1
```

0 comments on commit 5e9c58f

Please sign in to comment.