Skip to content

Commit

Permalink
fixup: uncommitted changes remaining on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski committed Mar 13, 2024
1 parent 7218b43 commit bebabe9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .envrc.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export SCAN_DIR=/Users/username/OWASP
export BEARER_DISABLE_VERSION_CHECK=true
export BEARER_DISABLE_DEFAULT_RULES=true
export BEARER_EXTERNAL_RULE_DIR=$PWD/../bearer-rules/rules
export BEARER_FORCE=true
# export BEARER_FORCE=true
# export BEARER_IGNORE_GIT=true
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
go-version: 1.21
- name: Build binary for integration tests
run: go build -a -o ./bearer ./cmd/bearer/bearer.go
run: go build -a ./cmd/bearer/bearer.go
- name: Run tests
run: go test -v ./e2e/... -p 8
timeout-minutes: 10
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ bearer-build

temp/

bearer

.envrc
/*.pprof
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ do_cleanup() {
trap do_cleanup 1 2 3 6

do_info "Building binary..."
go build -a -o ./bearer ./cmd/bearer/bearer.go || do_error "Failed to build binary"
go build -a ./cmd/bearer/bearer.go || do_error "Failed to build binary"

[ -f bearer ] || do_error "No binary found"

Expand Down

0 comments on commit bebabe9

Please sign in to comment.