Skip to content

fix: trying from config when @ is presented #3

fix: trying from config when @ is presented

fix: trying from config when @ is presented #3

Workflow file for this run

name: GGH CI
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Unit test
strategy:
matrix:
go-version: [ "1.22", "1.23" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check Go code formatting
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
gofmt -s -l .
echo "Please format Go code by running: go fmt ./..."
exit 1
fi
- name: Run tests
run: |
go vet ./...
go build ./...
go test -v -cover ./...