feat: Session API #16
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: ci | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: | |
- "master" | |
permissions: | |
checks: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install pcsc-lite | |
run: sudo apt-get install -y libpcsclite-dev | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Build | |
run: go build ./... | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install pcsc-lite | |
run: sudo apt-get install -y libpcsclite-dev | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.63.4 | |
permissions: | |
contents: read # Required: allow read access to the content for analysis. | |
pull-requests: read # Optional: allow read access to pull request. Use with `only-new-issues` option. | |
checks: write |