Skip to content

Bump wangyoucao577/go-release-action from 1.38 to 1.39 #260

Bump wangyoucao577/go-release-action from 1.38 to 1.39

Bump wangyoucao577/go-release-action from 1.38 to 1.39 #260

Workflow file for this run

# Runs all ecosystems cached and concurrently.
name: Smoke
on:
workflow_dispatch:
pull_request:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
smoke:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
suite:
- actions
- bundler
- cargo
- composer
- docker
- elm
- go
- go-close-pr
- go-security
- go-update-pr
- gradle
- hex
- maven
- npm
- npm-remove-transitive
- nuget
- pip
- pip-compile
- pipenv
- poetry
- pub
- submodules
- terraform
- yarn-berry
- yarn-berry-workspaces
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
# Download the Proxy cache. The job is ideally 100% cached so no real calls are made.
- name: Download cache
run: |
gh run download --repo dependabot/smoke-tests --name cache-${{ matrix.suite }} --dir cache
- name: ${{ matrix.suite }}
env:
LOCAL_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -o pipefail
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests/smoke-${{ matrix.suite }}.yaml
curl $(gh api $URL --jq .download_url) -o smoke.yaml
go run cmd/dependabot/dependabot.go test \
-f=smoke.yaml \
-o=result.yaml \
--cache=cache \
--timeout 20m \
2>&1 | tee -a log.txt
- name: Diff
if: always()
continue-on-error: true
run: diff --ignore-space-change smoke.yaml result.yaml && echo "Contents are identical" || exit 0
- name: Create summary
run: tail -n100 log.txt | grep -P '\d+/\d+ calls cached \(\d+%\)' >> $GITHUB_STEP_SUMMARY