Skip to content

deps(go): bump module github.com/drone/go-scm to v1.42.17 #27983

deps(go): bump module github.com/drone/go-scm to v1.42.17

deps(go): bump module github.com/drone/go-scm to v1.42.17 #27983

Workflow file for this run

---
name: Go
on:
workflow_dispatch: null
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# Run full test once a day
- cron: "0 0 * * *"
permissions: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: free disk space
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
sudo docker image prune --all --force
sudo docker builder prune -a
df -h
# https://github.com/actions/setup-go
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
cache: false
go-version: 1.27.1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
# Required: the version of golangci-lint is required
# and must be specified without patch version:
# we always use the latest patch version.
version: v2.13.2
install-mode: "binary"
- uses: "pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271" # v6.0.9
with:
version: "12.8.2"
run_install: false
- name: Install Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "26.10.0"
package-manager-cache: false
- name: Install uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
with:
version: "0.12.15"
enable-cache: false
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
with:
install-only: true
- name: Show GoReleaser version
run: goreleaser --version
- name: Build
run: make build
- name: Quick Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make test-short
if: ${{ github.event_name == 'pull_request' }}
- name: All Test
env:
# Access only to ec2 AMI api in read-only
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
UPDATECLI_GITEA_TOKEN: ${{ secrets.UPDATECLI_GITEA_TOKEN }}
run: make test
if: ${{ github.event_name == 'schedule' }}
# Codecov should only be updated if make test is executed
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
if: ${{ github.event_name == 'schedule' }}
with:
fail_ci_if_error: false
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
# Manage and run your integration tests with efficiency
# https://github.com/ovh/venom
- name: Install Venom
run: |
curl -o /usr/local/bin/venom https://github.com/ovh/venom/releases/download/$VENOM_VERSION/venom.linux-amd64 -L
sudo chmod +x /usr/local/bin/venom
ls -lha /usr/local/bin/venom
env:
VENOM_VERSION: v1.3.0
- name: Show Venom version
run: venom version
- name: Run End to End tests
run: make test-e2e
env:
IS_TTY: true # https://github.com/ovh/venom#use-venom-in-ci
# Access only to ec2 AMI api in read-only
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OTEL_TRACES_EXPORTER: console