Skip to content

Update actions/upload-artifact action to v4.4.3 #463

Update actions/upload-artifact action to v4.4.3

Update actions/upload-artifact action to v4.4.3 #463

Workflow file for this run

name: ci
on: [push]
permissions:
contents: read
jobs:
binaries:
uses: ./.github/workflows/binaries.yaml
permissions:
actions: read
contents: write
id-token: write
npm-package:
uses: ./.github/workflows/npm_package.yaml
permissions:
actions: read
contents: write
id-token: write
test-coverage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '18'
cache: npm
- run: npm ci --build-from-source
env:
GO_TEXT_TEMPLATE_NAPI_COVERAGE: 'true'
- run: mkdir gocov
- run: npm run test -- --coverage --coverageReporters=json
env:
GOCOVERDIR: gocov
- run: go tool covdata textfmt -i=gocov -o=go-coverage.txt
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}