build(deps): bump the all group across 1 directory with 12 updates #275
Workflow file for this run
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install deps | |
| run: sudo apt update && sudo apt install -y libgpgme-dev | |
| - name: Install go-junit-report | |
| run: | | |
| export GOPATH="$HOME/go/" | |
| export PATH=$PATH:$GOPATH/bin | |
| go install github.com/jstemmer/go-junit-report@latest | |
| - name: Generate | |
| run: go generate ./... | |
| - name: Run tests | |
| run: | | |
| export GOPATH="$HOME/go/" | |
| export PATH=$PATH:$GOPATH/bin | |
| go test -v ./... | go-junit-report -set-exit-code > report.xml | |
| env: | |
| R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }} | |
| R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| - name: Summarize Test Results | |
| if: always() | |
| uses: test-summary/action@v2 | |
| with: | |
| paths: report.xml | |
| show: all |