GitHub actions without spinning up an entire VM

I’m working on a Golang project (c16a/hermes) with very minimal CI/CD requirements. Is there any way I can run my actions (just go test and go build) in a Docker container, without spinning up a new VM? I guess other projects which indeed need a new VM can benefit from the increased availability.