Files
sablier/.github/workflows/build.yml
Alexis Couvreur 9430cc3eb3 chore(deps): bump to go1.24.0 (#521)
* chore(deps): bump to go1.24.0

* use proxy-wasm/proxy-wasm-go-sdk

* remove tinygo

* update docker image

* add missing env

* use go tool directive for mockgen

* chore: bump Kong/ngx_wasm_module to pre-release 0.6.0

Thanks to https://github.com/Kong/ngx_wasm_module/issues/682

* fix go mod

* set caddy to go1.23
2025-03-01 15:12:54 -05:00

41 lines
776 B
YAML

name: Build
on:
push:
branches:
- main
- beta
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: Build
permissions:
contents: read
id-token: write # OIDC with Codecov
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go 1.24
uses: actions/setup-go@v5
with:
go-version: ^1.24
cache-dependency-path: go.sum
- name: Build
run: go build -v .
- name: Test
run: go test -v -race -covermode atomic -coverprofile coverage.txt ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
use_oidc: true