Skip to content

Commit

Permalink
fix(parsing): Symlink resolution fix (#1722)
Browse files Browse the repository at this point in the history
* fix(parsing): Symlink resolution issue fixed
* chore(workflow): change action cache to speed up 🤞

Signed-off-by: Owen Rumney <owen.rumney@aquasec.com>
  • Loading branch information
Owen Rumney committed May 10, 2022
1 parent f1fa2ab commit 1c76aa7
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
go-version: '1.17'
- run: go version

- uses: actions/cache@v3
with:
path: |
Expand All @@ -29,6 +30,27 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: runner.os == 'Linux'

- uses: actions/cache@v3
with:
path: |
~/Library/Caches/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: runner.os == 'Darwin'

- uses: actions/cache@v3
with:
path: |
~\AppData\Local\go-build
~\go\pkg\mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
if: runner.os == 'Windows'

- name: Run tests
run: make test
Expand Down
1 change: 1 addition & 0 deletions .tfsec/cache/dbfa226ee274946ad2f78c29ef3df2b7
Submodule dbfa226ee274946ad2f78c29ef3df2b7 added at fedd42
4 changes: 2 additions & 2 deletions go.mod
Expand Up @@ -5,13 +5,13 @@ go 1.16
require (
github.com/AlecAivazis/survey/v2 v2.3.4
github.com/Masterminds/semver v1.5.0
github.com/aquasecurity/defsec v0.54.0
github.com/aquasecurity/defsec v0.55.5
github.com/hashicorp/go-version v1.4.0
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
github.com/liamg/clinch v1.5.6
github.com/liamg/gifwrap v0.0.6
github.com/liamg/tml v0.6.0
github.com/owenrumney/squealer v1.0.0
github.com/owenrumney/squealer v1.0.1-0.20220510063705-c0be93f0edea
github.com/spf13/cobra v1.4.0
github.com/stretchr/testify v1.7.1
github.com/zclconf/go-cty v1.10.0
Expand Down
14 changes: 5 additions & 9 deletions go.sum
Expand Up @@ -225,12 +225,8 @@ github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2
github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk=
github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
github.com/aquasecurity/defsec v0.53.2-0.20220506152716-6c2acd8929ec h1:L4vlFnf4CteVyILFepohMTQQzwmF8tw3klT2Yzs9YwI=
github.com/aquasecurity/defsec v0.53.2-0.20220506152716-6c2acd8929ec/go.mod h1:2PoWBy92rfT55Y/hb2NiP5EDcpECtVelxliCchYgH9M=
github.com/aquasecurity/defsec v0.53.2 h1:ULvas2SZypNkptk7bx9o8Av5rb7lv0CCsTEi9OMDaHs=
github.com/aquasecurity/defsec v0.53.2/go.mod h1:2PoWBy92rfT55Y/hb2NiP5EDcpECtVelxliCchYgH9M=
github.com/aquasecurity/defsec v0.54.0 h1:kTURp/htUkHSCWmmHi3g4/58xkcAyytDEKhyi4SMrEM=
github.com/aquasecurity/defsec v0.54.0/go.mod h1:2PoWBy92rfT55Y/hb2NiP5EDcpECtVelxliCchYgH9M=
github.com/aquasecurity/defsec v0.55.5 h1:6BDkiuk7TkPZsyou7vRrLOU4j7rd1uX50JHHIm3HTZc=
github.com/aquasecurity/defsec v0.55.5/go.mod h1:erYNqVU+guUDnM06O2rEl3IKKYNtMN82T36BSR/GbTo=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
Expand Down Expand Up @@ -1173,7 +1169,7 @@ github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQ
github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/moby/buildkit v0.8.1/go.mod h1:/kyU1hKy/aYCuP39GZA9MaKioovHku57N6cqlKZIaiQ=
github.com/moby/buildkit v0.10.2/go.mod h1:jxeOuly98l9gWHai0Ojrbnczrk/rf+o9/JqNhY+UCSo=
github.com/moby/buildkit v0.10.3/go.mod h1:jxeOuly98l9gWHai0Ojrbnczrk/rf+o9/JqNhY+UCSo=
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
github.com/moby/sys/mount v0.1.0/go.mod h1:FVQFLDRWwyBjDTBNQXDlWnSFREqOo3OKX9aqhmeoo74=
Expand Down Expand Up @@ -1290,8 +1286,8 @@ github.com/owenrumney/go-sarif v1.1.1 h1:QNObu6YX1igyFKhdzd7vgzmw7XsWN3/6NMGuDzB
github.com/owenrumney/go-sarif v1.1.1/go.mod h1:dNDiPlF04ESR/6fHlPyq7gHKmrM0sHUvAGjsoh8ZH0U=
github.com/owenrumney/go-sarif/v2 v2.1.1 h1:JVUO0cEhG8bvEWIxsRmURY4u7wBZUTgdh4zikkkiPM8=
github.com/owenrumney/go-sarif/v2 v2.1.1/go.mod h1:MSqMMx9WqlBSY7pXoOZWgEsVB4FDNfhcaXDA1j6Sr+w=
github.com/owenrumney/squealer v1.0.0 h1:XC23T+ijXB5/7Ma0CEOxCrns5XJRV2a/sB6O+NeMeiQ=
github.com/owenrumney/squealer v1.0.0/go.mod h1:8WF7DZOKgwTzc3bAxv2bFipTqQ53E2YA6Hb6P+xN+7w=
github.com/owenrumney/squealer v1.0.1-0.20220510063705-c0be93f0edea h1:RwQ26NYF4vvP7GckFRB4ABL18Byo7vnYBzMpmZKkGwQ=
github.com/owenrumney/squealer v1.0.1-0.20220510063705-c0be93f0edea/go.mod h1:WWvhG67r/BBwvLwmE2TcASI0b/xyPxmR9y33q/mg4ig=
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
Expand Down

0 comments on commit 1c76aa7

Please sign in to comment.