fix(deps): update module go.temporal.io/api to v1.44.1 [security] #1108
  
    
      This file contains hidden or 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: build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| - name: Build | |
| run: mise exec -- go build -v -o api-linux-amd64 cmd/api/serve.go | |
| env: | |
| CGO_ENABLED: 0 | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| - name: Lint | |
| run: mise run lint --timeout 30m | |
| workflowcheck: | |
| name: Workflow Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| - name: Workflow Check | |
| run: mise exec -- go run go.temporal.io/sdk/contrib/tools/workflowcheck@latest ./... | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| - name: Setup | |
| run: mise run setup | |
| - name: Test | |
| run: mise run test_coverage_junit | |
| env: | |
| CGO_ENABLED: 0 | |
| REPO_PASETO__PUBLIC_KEY: 408c5155a389aeabf1c1b0da73ff5a3079b6aa6628e4c661b1e1ce412181cc8a | |
| REPO_PASETO__PRIVATE_KEY: a5f7409588f6b72d443db0d432f37f1214a5ec88cb55a70e24b90194ed549465408c5155a389aeabf1c1b0da73ff5a3079b6aa6628e4c661b1e1ce412181cc8a | |
| REPO_FEATURE_FLAGS__ALLOW_MULTI_TARGET_UPLOAD: "true" | |
| REPO_VIRUSTOTAL__KEY: ${{ secrets.VIRUSTOTAL_KEY }} | |
| REPO_STORAGE__REGION: "us-east-1" | |
| REPO_STORAGE__KEYPATH: "%s/%s/%s" | |
| - uses: codecov/test-results-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| seeded_test: | |
| name: Seeded Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - download_url: "S3_URL_PROD" | |
| s3_bucket: "smr-prod-s3" | |
| s3_key: "S3_KEY_PROD" | |
| s3_secret: "S3_SECRET_PROD" | |
| s3_base_url: "https://storage.ficsit.app" | |
| - download_url: "S3_URL_STAGING" | |
| s3_bucket: "smr-staging-s3" | |
| s3_key: "S3_KEY_STAGING" | |
| s3_secret: "S3_SECRET_STAGING" | |
| s3_base_url: "https://storage-staging.ficsit.app" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jdx/mise-action@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| - name: Setup | |
| run: mise run setup | |
| - name: Download and seed database | |
| run: | | |
| curl ${{ secrets[matrix.download_url] }} | psql -h localhost -p 5432 -U postgres | |
| env: | |
| PGPASSWORD: REPLACE_ME | |
| - name: Test | |
| run: mise exec -- go test -v -p 1 -timeout 1h -run '^TestSetup$' ./... | |
| env: | |
| CGO_ENABLED: 0 | |
| REPO_PASETO__PUBLIC_KEY: 408c5155a389aeabf1c1b0da73ff5a3079b6aa6628e4c661b1e1ce412181cc8a | |
| REPO_PASETO__PRIVATE_KEY: a5f7409588f6b72d443db0d432f37f1214a5ec88cb55a70e24b90194ed549465408c5155a389aeabf1c1b0da73ff5a3079b6aa6628e4c661b1e1ce412181cc8a | |
| REPO_FEATURE_FLAGS__ALLOW_MULTI_TARGET_UPLOAD: "true" | |
| REPO_STORAGE__READER__TYPE: "s3" | |
| REPO_STORAGE__READER__REGION: "us-west-002" | |
| REPO_STORAGE__READER__BUCKET: "${{ matrix.s3_bucket }}" | |
| REPO_STORAGE__READER__KEY: "${{ secrets[matrix.s3_key] }}" | |
| REPO_STORAGE__READER__SECRET: "${{ secrets[matrix.s3_secret] }}" | |
| REPO_STORAGE__READER__ENDPOINT: "https://s3.us-west-002.backblazeb2.com" | |
| REPO_STORAGE__READER__BASE_URL: "${{ matrix.s3_base_url }}" | |
| REPO_STORAGE__READER__KEYPATH: "%s/file/%s/%s" |