Upgrades dependencies and tools #1
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: Pull Requests | |
on: | |
pull_request_target: | |
jobs: | |
approve-pr-tests: | |
runs-on: ubuntu-latest | |
environment: | |
name: "Pull Request Tests" | |
steps: | |
- run: "echo 'Execution of tests pending approval'" | |
test: | |
needs: ["approve-pr-tests"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Set environment variables from .env | |
uses: xom9ikk/dotenv@v2.3.0 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Run tests | |
run: go test -v ./... | |
env: | |
VAULT_ACC: '1' | |
TEST_BACKBLAZEB2_APPLICATION_KEY_ID: ${{ secrets.TEST_BACKBLAZEB2_APPLICATION_KEY_ID }} | |
TEST_BACKBLAZEB2_APPLICATION_KEY: ${{ secrets.TEST_BACKBLAZEB2_APPLICATION_KEY }} |