Skip to content

rem: removed directory already exists test #7

rem: removed directory already exists test

rem: removed directory already exists test #7

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22' # Adjust to match your go.mod
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test -v ./...
- name: Check formatting
run: |
test -z "$(gofmt -l .)" || (gofmt -d . && exit 1)