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:
parent
6a431abd07
commit
160740e1ea
2 changed files with 3 additions and 3 deletions
3
.github/workflows/inception-matrix.yml
vendored
3
.github/workflows/inception-matrix.yml
vendored
|
|
@ -49,6 +49,7 @@ jobs:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
go-version: '1.22'
|
||||||
|
cache: false
|
||||||
- name: Run Go unit tests
|
- name: Run Go unit tests
|
||||||
run: go run tests/unit/test_go.go
|
run: go run tests/unit/test_go.go
|
||||||
|
|
||||||
|
|
@ -334,6 +335,7 @@ jobs:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
go-version: '1.22'
|
||||||
|
cache: false
|
||||||
- name: Run Go tests
|
- name: Run Go tests
|
||||||
run: go run tests/test_un_go.go
|
run: go run tests/test_un_go.go
|
||||||
- name: Integration test
|
- name: Integration test
|
||||||
|
|
@ -824,6 +826,7 @@ jobs:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
go-version: '1.22'
|
||||||
|
cache: false
|
||||||
|
|
||||||
- name: Build un.go as inception runner
|
- name: Build un.go as inception runner
|
||||||
run: go build -o un un.go
|
run: go build -o un un.go
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
# Unit tests for un.ex - tests internal functions without API calls
|
# Unit tests for un.ex - tests internal functions without API calls
|
||||||
|
|
||||||
defmodule UnTest do
|
defmodule UnTest do
|
||||||
@passed Agent.start_link(fn -> 0 end, name: :passed)
|
|
||||||
@failed Agent.start_link(fn -> 0 end, name: :failed)
|
|
||||||
|
|
||||||
def run do
|
def run do
|
||||||
Agent.start_link(fn -> 0 end, name: :passed)
|
Agent.start_link(fn -> 0 end, name: :passed)
|
||||||
Agent.start_link(fn -> 0 end, name: :failed)
|
Agent.start_link(fn -> 0 end, name: :failed)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue