fix(deps): update module cloud.google.com/go/storage to v1.49.0 - autoclosed #1401
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
packages: write | |
id-token: write # Required for Codecov | |
env: | |
GO_VERSION: 1.22 | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache envtest binaries | |
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 | |
with: | |
path: ./bin/ | |
key: binaries | |
- name: Setup Golang | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Install envtest | |
run: make envtest | |
- name: Setup envtest | |
run: ./bin/setup-envtest use | |
- name: Run tests | |
run: make test | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5 | |
with: | |
use_oidc: true | |
check-codegen: | |
name: Check Codegen | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Golang | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Generate manifests | |
run: make manifests | |
- name: Check nothing has changed | |
run: | | |
git diff --exit-code ./manifests | |
lint-go: | |
name: Lint Go | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6 | |
with: | |
version: v1.55 | |
args: --timeout=5m | |
lint-ts: | |
name: Lint TS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Run install | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: install | |
dir: ui | |
- name: Run eslint | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: lint | |
dir: ui | |
- name: Run prettier | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: format-check | |
dir: ui | |
build-and-push: | |
uses: ./.github/workflows/build-and-push.yaml |