Skip to content

Commit eff58f1

Browse files
Merge pull request #40 from onflow/janez/update-library
Update and cleanup
2 parents 798a775 + 8c1edde commit eff58f1

58 files changed

Lines changed: 3682 additions & 1270 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.github/licenserc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ header:
2626
- 'LICENSE'
2727
- 'NOTICE'
2828
- '.gitignore'
29+
- '.envrc'
2930
- 'go.mod'
3031
- 'go.sum'
32+
- 'flake.nix'
33+
- 'flake.lock'
3134

3235
comment: on-failure
3336

.github/workflows/check-licence-header.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/go-test.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/golangci-lint.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/just-check.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Check
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- main
9+
pull_request:
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
check:
16+
name: lint and licence check
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Install Nix
22+
uses: DeterminateSystems/nix-installer-action@v16
23+
24+
- name: Setup Nix cache
25+
uses: DeterminateSystems/magic-nix-cache-action@v8
26+
27+
- name: Run checks
28+
run: nix develop --command just check

.github/workflows/just-test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Go Test
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- main
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install Nix
18+
uses: DeterminateSystems/nix-installer-action@v16
19+
20+
- name: Setup Nix cache
21+
uses: DeterminateSystems/magic-nix-cache-action@v8
22+
23+
- name: Test
24+
run: nix develop --command just test

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
pull-requests: write
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: release-drafter/release-drafter@v5
22+
- uses: release-drafter/release-drafter@v6
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- uses: micnncim/action-label-syncer@v1
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
.idea
1+
.idea
2+
.direnv
3+
.claude
4+
CLAUDE.md
5+
AGENTS.md

0 commit comments

Comments
 (0)