Bump golang.org/x/crypto from 0.26.0 to 0.31.0 #172
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: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/tests.yml' | |
- '**.go' | |
- 'go.mod' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Fetch all tags | |
run: git fetch --force --tags | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Cache Go modules | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Setup LibJQ | |
run: |- | |
docker run --name "libjq" -d flant/jq:b6be13d5-glibc | |
docker cp libjq:/libjq ./libjq | |
docker rm libjq | |
echo CGO_ENABLED=1 >> $GITHUB_ENV | |
echo CGO_CFLAGS="-I$(pwd)/libjq/include" >> $GITHUB_ENV | |
echo CGO_LDFLAGS="-L$(pwd)/libjq/lib" >> $GITHUB_ENV | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run quality checks and test code | |
run: task ci | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
files: ./coverage.txt | |
fail_ci_if_error: false | |
verbose: true |