mirror of
https://github.com/sbrow/envr.git
synced 2026-02-28 04:21:45 -05:00
Compare commits
4 Commits
v0.1.0
...
d28f07b7f4
| Author | SHA1 | Date | |
|---|---|---|---|
| d28f07b7f4 | |||
|
|
c1a179ffaf | ||
|
|
f8dc85a8b7 | ||
| 5310803c8b |
28
.github/workflows/go.yml
vendored
Normal file
28
.github/workflows/go.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.24.6'
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
@@ -88,8 +88,8 @@ The configuration file is created during initialization:
|
||||
{
|
||||
"keys": [
|
||||
{
|
||||
"private": "/home/spencer/.ssh/id_ed25519",
|
||||
"public": "/home/spencer/.ssh/id_ed25519.pub"
|
||||
"private": "/home/ubuntu/.ssh/id_ed25519",
|
||||
"public": "/home/ubuntu/.ssh/id_ed25519.pub"
|
||||
}
|
||||
],
|
||||
"scan": {
|
||||
|
||||
@@ -30,6 +30,7 @@ type scanConfig struct {
|
||||
}
|
||||
|
||||
// Create a fresh config with sensible defaults.
|
||||
// TODO: fd '\.env' -HI ~/ -E '*\.envrc' -E '\.env\.example' -E '\.local/' -E 'vendor' -E 'node_modules'
|
||||
func NewConfig(privateKeyPaths []string) Config {
|
||||
var keys = []SshKeyPair{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user