Skip to content

Commit

Permalink
updates .github/workflows to reflect changes since v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ufukty committed May 3, 2024
1 parent 112fc54 commit 289aedd
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,23 @@ name: Go

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16

- name: Install argon2
run: |
wget https://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/20190702.tar.gz
tar -xvf 20190702.tar.gz
cd phc-winner-argon2-20190702
sudo make install
- name: Build
run: go build -v ./...
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test

0 comments on commit 289aedd

Please sign in to comment.