Skip to content

[chore] : Bump actions/setup-go from 6.4.0 to 6.5.0 in the github-actions group #30

[chore] : Bump actions/setup-go from 6.4.0 to 6.5.0 in the github-actions group

[chore] : Bump actions/setup-go from 6.4.0 to 6.5.0 in the github-actions group #30

Workflow file for this run

name: Test and Lint
on:
pull_request:
push:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["oldstable", "stable"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: ${{ matrix.go-version }}
- name: Run Go Vet
run: |
go vet ./...
- name: Run Go Fmt
run: |
files=$(go fmt ./...)
if [ -n "$files" ]; then
echo "Please run gofmt on these files ..."
echo "$files"
exit 1
fi
- name: Run Go Test
run: |
go test -race -v ./...