Skip to content

Commit

Permalink
migrate to github
Browse files Browse the repository at this point in the history
  • Loading branch information
aine-etke committed Aug 8, 2024
1 parent 372234f commit 6f0a2a7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
push:
branches: [ "main" ]
permissions:
checks: write
contents: write
packages: write
pull-requests: read
jobs:
lint-test:
name: Lint and Test
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: add just repo
run: |
wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
- uses: ConorMacBride/install-package@v1
with:
apt: just
- name: lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- name: test
run: just test
11 changes: 0 additions & 11 deletions .gitlab-ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab.com/etke.cc/go/validator/v2
module github.com/etkecc/go-validator/v2

go 1.18

Expand Down

0 comments on commit 6f0a2a7

Please sign in to comment.