Skip to content

Commit

Permalink
Merge branch 'main' into add-gcs-support
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabablinchikow committed Jul 10, 2024
2 parents 132c8e6 + 72298c7 commit e36dd27
Show file tree
Hide file tree
Showing 98 changed files with 3,969 additions and 1,931 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore build and test binaries.
bin/
2 changes: 1 addition & 1 deletion .github/workflows/pr-cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
id: check-for-cc
uses: ahmadnassri/action-commit-lint@v2
with:
config: conventional
config: ./commitlint.config.js
15 changes: 8 additions & 7 deletions .github/workflows/pr-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
uses: actions/checkout@v4

- name: Set up Golang
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: latest
only-new-issues: true
Expand All @@ -39,22 +39,23 @@ jobs:
name: Unit Testing
strategy:
matrix:
kubernetes-version: ['1.21', '1.22', '1.23', '1.24', '1.25', '1.26', '1.27', '1.28']
kubernetes-version: ['1.24', '1.25', '1.26', '1.27', '1.28', '1.29']
runs-on: ubuntu-22.04
env:
ENVTEST_K8S_VERSION: ${{ matrix.kubernetes-version }}
DOCKER_CLIENT_API_VERSION: '1.43' # 1.45 is not supported by ubuntu-22.04 GitHub image
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Golang
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true

- name: Restore cached Go modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -70,7 +71,7 @@ jobs:
go tool cover -html=cover.out -o coverage.html
- name: Archive code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
name: code-coverage-report-${{ matrix.kubernetes-version }}
path: coverage.html
6 changes: 3 additions & 3 deletions .github/workflows/pr-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Dependency Review
uses: actions/dependency-review-action@v3
uses: actions/dependency-review-action@v4

vulnerability-scanner:
name: Vulnerability Scanner
Expand All @@ -31,14 +31,14 @@ jobs:
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.16.0
uses: aquasecurity/trivy-action@0.23.0
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
Loading

0 comments on commit e36dd27

Please sign in to comment.