Update github.com/diggerhq/digger/backend digest to 90aa7b8 (#1565) #734
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: Cli e2e tests | |
"on": | |
push: | |
branches: ['develop'] | |
jobs: | |
build: | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Download Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.0 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Deps cli | |
run: | | |
go get -v ./... | |
working-directory: cli | |
- name: Deps e2e | |
run: | | |
go get -v ./... | |
working-directory: cli_e2e | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: us-east-1 | |
role-to-assume: ${{ secrets.AWS_E2E_TEST_ROLE }} | |
- name: Test | |
run: | | |
echo '${{ secrets.GCP_CREDENTIALS }}' > /tmp/gcp.json | |
go test -v ./... | |
working-directory: cli_e2e | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: /tmp/gcp.json | |
GOOGLE_STORAGE_PLAN_ARTEFACT_BUCKET: gcp-plan-artefacts | |
AWS_S3_BUCKET: digger-tests-bucket | |
AWS_REGION: us-east-1 |