Skip to content

Hello Rust

Hello Rust #22

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Build
working-directory: ./go
run: go build -v ./...
- name: Test
working-directory: ./go
run: go test -v ./...
- name: Benchmark
working-directory: ./go
run: go test -bench=Benchmark -benchmem -v ./...