Skip to content

Cache AccessHash of users #17

Cache AccessHash of users

Cache AccessHash of users #17

Workflow file for this run

name: ci/cd
on:
push:
branches: ["master"]
paths-ignore:
- "**.md"
- "**.org"
jobs:
lint-go:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: golangci/golangci-lint-action@v4
with:
version: v1.54
args: --timeout=15m
build-docker:
needs: lint-go
strategy:
matrix:
go-version: [1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
- uses: ko-build/[email protected]
- run: ko build -B ./
env:
KO_DOCKER_REPO: ghcr.io/dearrude
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}