Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump golang.org/x/image from 0.33.0 to 0.34.0 #1271

Bump golang.org/x/image from 0.33.0 to 0.34.0

Bump golang.org/x/image from 0.33.0 to 0.34.0 #1271

Workflow file for this run

# copied from fortio/workflows
name: go-checks
on:
workflow_call:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # pin@v4
- name: Setup Go environment
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # pin@v5
with:
go-version: '1.24'
check-latest: true
- name: Run Vulncheck
if: matrix.os == 'ubuntu-latest'
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
- name: Download linter config
if: matrix.os == 'ubuntu-latest'
run: curl -fsS -o .golangci.yml https://raw.githubusercontent.com/fortio/workflows/main/golangci.yml
- name: Run golangci-lint
if: matrix.os == 'ubuntu-latest'
uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # pin@v8
with:
version: v2.6.1
- name: Run tests
run: |
go version
go run . buildinfo || true # to also confirm go toolchain version used
if make -n test &>/dev/null; then
echo "Running tests with make test"
make test
else
echo "No Makefile test target, running tests with race detection as default behavior"
go test -race ./...
fi
shell: bash # to use bash on Windows