Skip to content

ci: Bump GitHub actions versions #24

ci: Bump GitHub actions versions

ci: Bump GitHub actions versions #24

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code of the project
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
- name: Fetch project dependencies
run: go mod download -x
- name: Check format of source files
run: test -z "$(gofmt -s -d . 2>&1 |tee /dev/stderr)"
- name: Check correctness of source files
run: go vet -v ./...
- name: Run tests
run: go test -v ./...
- name: Build project
run: go build -v ./...