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"
|
name: Go
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
env:
|
|
||||||
HOME: /tmp
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies for Nix setup action
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
enable_kvm: true
|
go-version: '1.24.x'
|
||||||
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
- name: Install dependencies
|
||||||
run: |
|
run: go get .
|
||||||
apt update -y
|
- name: Build
|
||||||
apt install sudo -y
|
run: go build -v ./...
|
||||||
- uses: cachix/install-nix-action@v31
|
|
||||||
- run: nix --option sandbox false build .#
|
|
||||||
|
|||||||
Reference in New Issue
Block a user