Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jahvon committed Oct 10, 2023
1 parent e3542de commit 142d839
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:

jobs:
codeql:
permissions:
security-events: write
runs-on: ubuntu-latest

steps:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Release Binaries

on:
push:
tags:
- "*"
release:
types: [created]

jobs:
releases-matrix:
Expand All @@ -22,5 +21,5 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.21"
goversion: "1.21.1"
extra_files: LICENSE README.md
18 changes: 2 additions & 16 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "^1.20.6"
go-version: "^1.21.1"

- name: Init project
run: |
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
version: v1.54.2
skip-pkg-cache: true

# _____ _
Expand All @@ -70,17 +70,3 @@ jobs:
with:
file: ./coverage.txt
fail_ci_if_error: true

# ____ _
# | _ \ ___ ___| | _____ _ __
# | | | |/ _ \ / __| |/ / _ \ '__|
# | |_| | (_) | (__| < __/ |
# |____/ \___/ \___|_|\_\___|_|
#
- name: Build the Docker image
run: make VERSION=latest docker/build
- name: Run the Anchore scan action
uses: anchore/scan-action@v3
with:
image: "jahvon/flow:latest"
output-format: json

0 comments on commit 142d839

Please sign in to comment.