Skip to content

Commit

Permalink
sample workflow for go code run
Browse files Browse the repository at this point in the history
  • Loading branch information
DenKoren committed Jun 1, 2023
1 parent e283d30 commit 9ae66ed
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run-go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "_ [Run GO]"

on:
push:
tags-ignore: [ '*' ]
branches: [ 'master' ]
paths:
- .github/workflows/run-go.yaml

workflow_dispatch:

jobs:
init:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Golang ${{ inputs.golang-version }}
uses: actions/setup-go@v3
with:
go-version: 1.20

- name: Run sample GO code
shell: bash
run:
cd go
go run .

0 comments on commit 9ae66ed

Please sign in to comment.