mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-09-13 08:58:50 +00:00
33049893f0
This patch updates the version of the github actions we use in our CI workflows. While they still run correctly, they're showing some warnings about being too out of date in the UI.
40 lines
855 B
YAML
40 lines
855 B
YAML
name: "gotests"
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main", "next" ]
|
|
pull_request:
|
|
# The branches below must be a subset of the branches above
|
|
branches: [ "main", "next" ]
|
|
schedule:
|
|
- cron: '29 21 * * 6'
|
|
|
|
jobs:
|
|
oldest_supported:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-go@v7
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- name: normal tests
|
|
run: go test ./...
|
|
- name: race tests
|
|
run: go test -race ./...
|
|
|
|
latest:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-go@v7
|
|
with:
|
|
go-version: "1.x"
|
|
check-latest: true
|
|
- name: normal tests
|
|
run: go test ./...
|
|
- name: race tests
|
|
run: go test -race ./...
|
|
|