Skip to content

feat: move api_key from gtt.yaml to server.yaml #96

feat: move api_key from gtt.yaml to server.yaml

feat: move api_key from gtt.yaml to server.yaml #96

Workflow file for this run

name: format
on:
push:
branches:
- master
paths:
- "**.go"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "^1.19"
- name: Format with gofmt
run: gofmt -w .
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "style(format): run gofmt"
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- name: Format with goimports
run: goimports -w .
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "style(format): run goimports"