Skip to content

Commit 2f0b183

Browse files
authored
Merge pull request #20 from jonstacks/updates
Bump Go Version, actions versions, and go dependencies
2 parents 98ceb4e + b7e3637 commit 2f0b183

15 files changed

Lines changed: 408 additions & 36 deletions

File tree

.flox/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
env/manifest.lock linguist-generated=true linguist-language=JSON

.flox/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
run/
2+
cache/
3+
lib/
4+
log/
5+
!env/

.flox/env.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "pg-dba",
3+
"version": 1
4+
}

.flox/env/manifest.lock

Lines changed: 254 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.flox/env/manifest.toml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
## Flox Environment Manifest -----------------------------------------
2+
##
3+
## _Everything_ you need to know about the _manifest_ is here:
4+
##
5+
## https://flox.dev/docs/reference/command-reference/manifest.toml/
6+
##
7+
## -------------------------------------------------------------------
8+
# Flox manifest version managed by Flox CLI
9+
version = 1
10+
11+
12+
## Install Packages --------------------------------------------------
13+
## $ flox install gum <- puts a package in [install] section below
14+
## $ flox search gum <- search for a package
15+
## $ flox show gum <- show all versions of a package
16+
## -------------------------------------------------------------------
17+
[install]
18+
go.pkg-path = "go"
19+
go.version = "^1.19"
20+
golangci-lint.pkg-path = "golangci-lint"
21+
22+
23+
## Environment Variables ---------------------------------------------
24+
## ... available for use in the activated environment
25+
## as well as [hook], [profile] scripts and [services] below.
26+
## -------------------------------------------------------------------
27+
[vars]
28+
# INTRO_MESSAGE = "It's gettin' Flox in here"
29+
30+
31+
## Activation Hook ---------------------------------------------------
32+
## ... run by _bash_ shell when you run 'flox activate'.
33+
## -------------------------------------------------------------------
34+
[hook]
35+
on-activate = """
36+
# Autogenerated by Flox
37+
38+
# Point GOENV to Flox environment cache
39+
export GOENV="$FLOX_ENV_CACHE/goenv"
40+
41+
# Install Go dependencies
42+
go get .
43+
44+
# End autogenerated by Flox
45+
"""
46+
47+
48+
## Profile script ----------------------------------------------------
49+
## ... sourced by _your shell_ when you run 'flox activate'.
50+
## -------------------------------------------------------------------
51+
[profile]
52+
# common = '''
53+
# gum style \
54+
# --foreground 212 --border-foreground 212 --border double \
55+
# --align center --width 50 --margin "1 2" --padding "2 4" \
56+
# $INTRO_MESSAGE
57+
# '''
58+
## Shell-specific customizations such as setting aliases go here:
59+
# bash = ...
60+
# zsh = ...
61+
# fish = ...
62+
63+
64+
## Services ---------------------------------------------------------
65+
## $ flox services start <- Starts all services
66+
## $ flox services status <- Status of running services
67+
## $ flox activate --start-services <- Activates & starts all
68+
## ------------------------------------------------------------------
69+
[services]
70+
# myservice.command = "python3 -m http.server"
71+
72+
73+
## Include ----------------------------------------------------------
74+
## ... environments to create a composed environment
75+
## ------------------------------------------------------------------
76+
[include]
77+
# environments = [
78+
# { dir = "../common" }
79+
# ]
80+
81+
82+
## Build and publish your own packages ------------------------------
83+
## $ flox build
84+
## $ flox publish
85+
## ------------------------------------------------------------------
86+
[build]
87+
# [build.myproject]
88+
# description = "The coolest project ever"
89+
# version = "0.0.1"
90+
# command = """
91+
# mkdir -p $out/bin
92+
# cargo build --release
93+
# cp target/release/myproject $out/bin/myproject
94+
# """
95+
96+
97+
## Other Environment Options -----------------------------------------
98+
[options]
99+
# Systems that environment is compatible with
100+
# systems = [
101+
# "aarch64-darwin",
102+
# "aarch64-linux",
103+
# "x86_64-darwin",
104+
# "x86_64-linux",
105+
# ]
106+
# Uncomment to disable CUDA detection.
107+
# cuda-detection = false

0 commit comments

Comments
 (0)