Skip to content

Commit

Permalink
🐛 ✨ Implemented proper Resolution of Callsites (#4)
Browse files Browse the repository at this point in the history
* ♻️ Ensured pointer are used

* ⬆️ Updated golang.org/x/vuln

* 🧐 Updated Data to have example with multiple callsites

* ✨ Implemented Callstack resolver for Vuln

* ✨ Implemented Preprocessor

It currently removes duplicates

* ♻️ Switched Convert to use new format

* ♻️ Wired together new implementation

* 🔧 Included Dynamic Integration Test

* 🔧 Running Integration only on main & tags

* ✨ Added Markdown FOrmat

* 🐛 Link was not correct

* 🐛 Switched away from relative link

* ✨ Added Link to Vuln

* ♻️ Reused Stack for PrintStack

* ♻️ Minor Refactoring
  • Loading branch information
Templum authored Sep 17, 2022
1 parent 34b8cdb commit db747f2
Show file tree
Hide file tree
Showing 12 changed files with 1,496 additions and 1,137 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: Integration Test
on: [push]
on:
push:
branches:
- main
tags:
- v*
jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
Expand All @@ -10,4 +15,4 @@ jobs:
shell: bash
- name: Integration Test
id: integration-test
uses: Templum/govulncheck-action@feature/2
uses: Templum/govulncheck-action@main
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
# vendor/

# Used for testing locally
.env
.env
hack/output.json
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/Templum/govulncheck-action

go 1.19

require golang.org/x/vuln v0.0.0-20220908210932-64dbbd7bba4f
require golang.org/x/vuln v0.0.0-20220914160157-cac67f5c7c81

require (
github.com/golang/protobuf v1.5.2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.1.13-0.20220803210227-8b9a1fbdf5c3 h1:aE4T3aJwdCNz+s35ScSQYUzeGu7BOLDHZ1bBHVurqqY=
golang.org/x/tools v0.1.13-0.20220803210227-8b9a1fbdf5c3/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/vuln v0.0.0-20220908210932-64dbbd7bba4f h1:U6Ghm6NTeUUiGUOaQuYC4ELjCMig8hb7nVAyIg7XThg=
golang.org/x/vuln v0.0.0-20220908210932-64dbbd7bba4f/go.mod h1:7tDfEDtOLlzHQRi4Yzfg5seVBSvouUIjyPzBx4q5CxQ=
golang.org/x/vuln v0.0.0-20220914160157-cac67f5c7c81 h1:PlNfGv/lMyN1WatEzczf4kNOrjQ0dg3KFuqJIo+18Tw=
golang.org/x/vuln v0.0.0-20220914160157-cac67f5c7c81/go.mod h1:7tDfEDtOLlzHQRi4Yzfg5seVBSvouUIjyPzBx4q5CxQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
Expand Down
Loading

0 comments on commit db747f2

Please sign in to comment.