Continous Commiting With Go #40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continous Commiting With Go | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| run_git_with_go: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: GitHub config | |
| run: | | |
| git config --global user.email "recep.fed@gmail.com" | |
| git config --global user.name "booleanrecep" | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.17 | |
| - name: Download go dependencies | |
| run: go mod download | |
| - name: Run go | |
| run: go run git.go | |