Fix Elixir warning and Go cache warnings

- Elixir: Remove unused module attributes @passed/@failed
- Go: Add cache: false to all setup-go actions (no go.sum file)
This commit is contained in:
Russell Ballestrini 2026-01-06 09:46:48 -05:00
parent 6a431abd07
commit 160740e1ea
2 changed files with 3 additions and 3 deletions

View file

@ -49,6 +49,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Run Go unit tests
run: go run tests/unit/test_go.go
@ -334,6 +335,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Run Go tests
run: go run tests/test_un_go.go
- name: Integration test
@ -824,6 +826,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Build un.go as inception runner
run: go build -o un un.go

View file

@ -2,9 +2,6 @@
# Unit tests for un.ex - tests internal functions without API calls
defmodule UnTest do
@passed Agent.start_link(fn -> 0 end, name: :passed)
@failed Agent.start_link(fn -> 0 end, name: :failed)
def run do
Agent.start_link(fn -> 0 end, name: :passed)
Agent.start_link(fn -> 0 end, name: :failed)