use simple golang workflow for now
All checks were successful
Go / build (push) Successful in 12m56s
All checks were successful
Go / build (push) Successful in 12m56s
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
name: "Build"
|
||||
on:
|
||||
push:
|
||||
env:
|
||||
HOME: /tmp
|
||||
name: Go
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies for Nix setup action
|
||||
with:
|
||||
enable_kvm: true
|
||||
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
||||
run: |
|
||||
apt update -y
|
||||
apt install sudo -y
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- run: nix --option sandbox false build .#
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.x'
|
||||
- name: Install dependencies
|
||||
run: go get .
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
Reference in New Issue
Block a user